mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 22:25:12 +00:00
Protect against duplicate messages
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
33ad919508
commit
e59ffc905d
@ -14,7 +14,8 @@
|
||||
::received-message
|
||||
message-model/receive-interceptors
|
||||
(fn [cofx [message]]
|
||||
(message-model/receive message cofx)))
|
||||
(when (message-model/add-to-chat? cofx message)
|
||||
(message-model/receive message cofx))))
|
||||
|
||||
(re-frame.core/reg-fx
|
||||
:chat-received-message/add-fx
|
||||
|
Loading…
x
Reference in New Issue
Block a user