Use whole message to calculate message-id
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
e3e75e0498
commit
9c67aab2c9
|
@ -115,11 +115,9 @@
|
|||
:dsts members
|
||||
:success-event [:transport/message-sent
|
||||
chat-id
|
||||
(transport.utils/message-id
|
||||
;; NOTE: There is no clock-value here.
|
||||
;; Will we have collision?
|
||||
{:from current-public-key
|
||||
:chat-id chat-id})
|
||||
(transport.utils/message-id (assoc (:message payload)
|
||||
:chat-id chat-id
|
||||
:from current-public-key))
|
||||
:group-user-message]
|
||||
:payload payload}}))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue