Show conversation logo on sidebar

This commit is contained in:
Pierre HUBERT 2021-03-07 15:35:50 +01:00
parent 4fdb74d9d0
commit ca7768c8a7

View File

@ -556,11 +556,18 @@ const SidebarMain = {
});
// Icon
if (conv.logo == null)
createElem2({
appendTo: a,
type: "i",
class: "fa fa-comments"
});
else
createElem2({
appendTo: a,
type: "img",
src: conv.logo
});
// Conversation name
createElem2({