fix(chat): Fixed invitations sending to multiple users
This commit is contained in:
parent
f32e551c75
commit
670a8e280c
|
@ -230,8 +230,8 @@ QtObject:
|
|||
error "no chats or messages in the parsed response"
|
||||
return
|
||||
|
||||
for msg in messages:
|
||||
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[0]))
|
||||
for i, msg in messages:
|
||||
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[i]))
|
||||
|
||||
proc processUpdateForTransaction*(self: Service, messageId: string, response: RpcResponse[JsonNode]) =
|
||||
var (chats, messages) = self.processMessageUpdateAfterSend(response)
|
||||
|
|
Loading…
Reference in New Issue