mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 12:04:52 +00:00
fix: always albumize outgoing image messages (#15735)
This commit is contained in:
parent
68f360bbf6
commit
f9eae4ef82
@ -16,6 +16,7 @@
|
||||
(defn prepare-message
|
||||
[{:keys [message-id
|
||||
clock-value
|
||||
album-id
|
||||
message-type
|
||||
from
|
||||
outgoing
|
||||
@ -36,7 +37,8 @@
|
||||
:type :message
|
||||
:message-id message-id
|
||||
:outgoing (boolean outgoing)
|
||||
:albumize? albumize?}
|
||||
;; always albumize outgoing (image already loaded) messages
|
||||
:albumize? (if (and album-id outgoing) true albumize?)}
|
||||
add-datemark
|
||||
add-timestamp))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user