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"
|
error "no chats or messages in the parsed response"
|
||||||
return
|
return
|
||||||
|
|
||||||
for msg in messages:
|
for i, msg in messages:
|
||||||
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[0]))
|
self.events.emit(SIGNAL_SENDING_SUCCESS, MessageSendingSuccess(message: msg, chat: chats[i]))
|
||||||
|
|
||||||
proc processUpdateForTransaction*(self: Service, messageId: string, response: RpcResponse[JsonNode]) =
|
proc processUpdateForTransaction*(self: Service, messageId: string, response: RpcResponse[JsonNode]) =
|
||||||
var (chats, messages) = self.processMessageUpdateAfterSend(response)
|
var (chats, messages) = self.processMessageUpdateAfterSend(response)
|
||||||
|
|
Loading…
Reference in New Issue