fix(community): make sure to add the chat when inviting to a community
This commit is contained in:
parent
ea9a715602
commit
8055662621
|
@ -230,6 +230,10 @@ QtObject:
|
||||||
error "no chats or messages in the parsed response"
|
error "no chats or messages in the parsed response"
|
||||||
return
|
return
|
||||||
|
|
||||||
|
for chat in chats:
|
||||||
|
if (chat.active):
|
||||||
|
self.events.emit(SIGNAL_CHAT_CREATED, CreatedChatArgs(chat: chat))
|
||||||
|
|
||||||
for i, msg in messages:
|
for i, msg in messages:
|
||||||
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[i]))
|
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[i]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue