feat(sync): sync and pair 1-1 chats and groups
Fixes #10324 and https://github.com/status-im/status-go/issues/3547
This commit is contained in:
parent
febc2d061f
commit
48d2f72876
|
@ -173,6 +173,10 @@ QtObject:
|
|||
self.events.emit(SIGNAL_CHAT_MEMBERS_CHANGED, ChatMembersChangedArgs(chatId: chatDto.id, members: chatDto.members))
|
||||
self.updateOrAddChat(chatDto)
|
||||
|
||||
elif self.chats.hasKey(chatDto.id) and self.chats[chatDto.id].active:
|
||||
# We left the chat
|
||||
self.events.emit(SIGNAL_CHAT_LEFT, ChatArgs(chatId: chatDto.id))
|
||||
|
||||
self.events.emit(SIGNAL_CHAT_UPDATE, ChatUpdateArgs(chats: chats))
|
||||
|
||||
if (receivedData.clearedHistories.len > 0):
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 21ddaa4b9f57288ed99fed04db528f3790b7bd2f
|
||||
Subproject commit c8910d69fe1ab896557c0217a542c000454974c0
|
Loading…
Reference in New Issue