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
|
:dsts members
|
||||||
:success-event [:transport/message-sent
|
:success-event [:transport/message-sent
|
||||||
chat-id
|
chat-id
|
||||||
(transport.utils/message-id
|
(transport.utils/message-id (assoc (:message payload)
|
||||||
;; NOTE: There is no clock-value here.
|
:chat-id chat-id
|
||||||
;; Will we have collision?
|
:from current-public-key))
|
||||||
{:from current-public-key
|
|
||||||
:chat-id chat-id})
|
|
||||||
:group-user-message]
|
:group-user-message]
|
||||||
:payload payload}}))))
|
:payload payload}}))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue