mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Can open private conversation from sidebar
This commit is contained in:
parent
5cf82b3cfb
commit
49e7b7e8ab
@ -230,6 +230,18 @@ ComunicWeb.components.sideBar.main = {
|
||||
innerHTML: userFullName(user)
|
||||
});
|
||||
|
||||
// Private conversation
|
||||
createElem2({
|
||||
appendTo: a,
|
||||
type: "span",
|
||||
class: "pull-right-container",
|
||||
innerHTML: "<small class='label pull-right'><i class='fa fa-comments'></i></small>",
|
||||
onclick: (e) => {
|
||||
e.stopImmediatePropagation();
|
||||
ComunicWeb.components.conversations.manager.openPrivate(user.userID);
|
||||
}
|
||||
});
|
||||
|
||||
// Supplementary information
|
||||
let subInfoEl = createElem2({
|
||||
appendTo: a,
|
||||
|
Loading…
Reference in New Issue
Block a user