Fix replies emoji messages

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
Andrea Maria Piana 2020-04-21 09:03:59 +02:00
parent 387b9cb37a
commit 7222b4f016
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@
(let [response-to (:response-to content)]
[message-bubble-wrapper message
[react/view {:style (style/style-message-text outgoing)}
(when response-to
[quoted-message response-to (:quoted-message message) alias outgoing current-public-key])
(when (and (seq response-to) (:quoted-message message))
[quoted-message response-to (:quoted-message message) outgoing current-public-key])
[react/text {:style (style/emoji-message message)}
(:text content)]]
[message-timestamp message]]))