fix(community): make sure to add the chat when inviting to a community

This commit is contained in:
Jonathan Rainville 2022-10-20 10:23:57 -04:00
parent ea9a715602
commit 8055662621
1 changed files with 4 additions and 0 deletions

View File

@ -230,6 +230,10 @@ QtObject:
error "no chats or messages in the parsed response"
return
for chat in chats:
if (chat.active):
self.events.emit(SIGNAL_CHAT_CREATED, CreatedChatArgs(chat: chat))
for i, msg in messages:
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[i]))