Reply showing unknown (#14682)

This commit is contained in:
Ibrahem Khalil 2023-01-02 22:08:40 +02:00 committed by GitHub
parent 8d08de3d4b
commit 894be3e4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -64,14 +64,9 @@
(i18n/label :t/message-deleted)]])
(defn reply-message
[{:keys [chat-id id]}
[{:keys [from identicon content-type contentType parsed-text content deleted? deleted-for-me?]}
in-chat-input? pin?]
(let [reply-content-sub (-> [:chats/chat-messages chat-id]
rf/sub
(get id))
{:keys [from identicon content-type contentType parsed-text content deleted? deleted-for-me?]}
reply-content-sub
contact-name (rf/sub [:contacts/contact-name-by-identity from])
(let [contact-name (rf/sub [:contacts/contact-name-by-identity from])
current-public-key (rf/sub [:multiaccount/public-key])
content-type (or content-type contentType)]
[rn/view