Comment out outdated dispatching of :send-seen! event

This commit is contained in:
Roman Volosovskyi 2019-01-18 12:40:34 +02:00
parent 8754f72eba
commit a129c92706
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 4 additions and 3 deletions

View File

@ -192,9 +192,10 @@
(not outgoing)
(not= :seen message-status)
(not= :seen (keyword (get-in user-statuses [current-public-key :status]))))
(re-frame/dispatch [:send-seen! {:chat-id chat-id
:from from
:message-id message-id}]))
;;TODO(rasom): revisit this when seen messages will be reimplemented
#_(re-frame/dispatch [:send-seen! {:chat-id chat-id
:from from
:message-id message-id}]))
:reagent-render
(fn []
^{:key (str "message" message-id)}