Can open private conversation from sidebar

This commit is contained in:
Pierre HUBERT 2019-05-16 19:06:58 +02:00
parent 5cf82b3cfb
commit 49e7b7e8ab

View File

@ -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,