fix: always albumize outgoing image messages (#15735)
This commit is contained in:
parent
68f360bbf6
commit
f9eae4ef82
|
@ -16,6 +16,7 @@
|
||||||
(defn prepare-message
|
(defn prepare-message
|
||||||
[{:keys [message-id
|
[{:keys [message-id
|
||||||
clock-value
|
clock-value
|
||||||
|
album-id
|
||||||
message-type
|
message-type
|
||||||
from
|
from
|
||||||
outgoing
|
outgoing
|
||||||
|
@ -36,7 +37,8 @@
|
||||||
:type :message
|
:type :message
|
||||||
:message-id message-id
|
:message-id message-id
|
||||||
:outgoing (boolean outgoing)
|
:outgoing (boolean outgoing)
|
||||||
:albumize? albumize?}
|
;; always albumize outgoing (image already loaded) messages
|
||||||
|
:albumize? (if (and album-id outgoing) true albumize?)}
|
||||||
add-datemark
|
add-datemark
|
||||||
add-timestamp))
|
add-timestamp))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue