diff --git a/src/status_im2/contexts/chat/messages/content/deleted/view.cljs b/src/status_im2/contexts/chat/messages/content/deleted/view.cljs index 0a00847075..b657ea7e8b 100644 --- a/src/status_im2/contexts/chat/messages/content/deleted/view.cljs +++ b/src/status_im2/contexts/chat/messages/content/deleted/view.cljs @@ -50,13 +50,14 @@ :animate-landing? (or deleted-undoable-till deleted-for-me-undoable-till)}])) (defn deleted-message - [{:keys [deleted? deleted-by deleted-undoable-till timestamp-str deleted-for-me-undoable-till from] + [{:keys [deleted? deleted-by deleted-undoable-till timestamp-str + deleted-for-me-undoable-till from] :as message} context] (let [pub-key (rf/sub [:multiaccount/public-key]) deleted-by-me? (= (or deleted-by from) pub-key) on-long-press-fn (compute-on-long-press-fn message context)] - (if-not deleted-by-me? + (if (and deleted? (not deleted-by-me?)) [deleted-by-message message on-long-press-fn] [quo/system-message {:type :deleted