mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
fix ack messages handling
This commit is contained in:
parent
50e37bf327
commit
6d333bfed7
@ -51,11 +51,8 @@
|
||||
(case type
|
||||
:message (dispatch [:received-protocol-message! message])
|
||||
:group-message (dispatch [:received-protocol-message! message])
|
||||
:ack (cond
|
||||
(#{:message :group-message} (:type payload))
|
||||
:ack (if (#{:message :group-message} (:type payload))
|
||||
(dispatch [:message-delivered message])
|
||||
|
||||
(= :contact-request (:type payload))
|
||||
(dispatch [:pending-message-remove message]))
|
||||
:seen (dispatch [:message-seen message])
|
||||
:group-invitation (dispatch [:group-chat-invite-received message])
|
||||
|
Loading…
x
Reference in New Issue
Block a user