Better integration of groups conversations

This commit is contained in:
2021-04-05 17:08:59 +02:00
parent 0479a4d7a5
commit b99c1e4a7f
3 changed files with 26 additions and 11 deletions

View File

@ -600,12 +600,7 @@ const SidebarMain = {
let a = createElem2({
appendTo: li,
type: "a",
onclick: () => {
if (!conv.group_id)
openConversation(conv.id, true)
else
Page.openPage("groups/" + conv.group_id + "/conversation/" + conv.id);
}
onclick: () => openConversation(conv.id, true, conv.group_id)
});
// Icon