Skip to content

Commit

Permalink
fixes #3519 (Scriver: Дубли истории сообщений в конференции)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehazan committed May 8, 2023
1 parent aba622e commit 16e163c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion protocols/JabberG/src/jabber_thread.cpp
Expand Up @@ -266,8 +266,11 @@ void CJabberProto::ServerThread(JABBER_CONN_DATA *pParam)

// quit all chatrooms (will send quit message)
LISTFOREACH(i, this, LIST_CHATROOM)
if (auto *item = ListGetItemPtrFromIndex(i))
if (auto *item = ListGetItemPtrFromIndex(i)) {
if (item->si)
item->si->arEvents.destroy();
GcQuit(item, 0, nullptr);
}

ListRemoveList(LIST_CHATROOM);
ListRemoveList(LIST_BOOKMARK);
Expand Down

0 comments on commit 16e163c

Please sign in to comment.