1
0
mirror of https://github.com/pierre42100/ComunicWeb synced 2025-07-12 14:12:52 +00:00

Show conversation logo on sidebar

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

@ -556,11 +556,18 @@ const SidebarMain = {
});
// Icon
createElem2({
appendTo: a,
type: "i",
class: "fa fa-comments"
});
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({