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 362a4c7c47..66e253076e 100644 --- a/src/status_im2/contexts/chat/messages/content/deleted/view.cljs +++ b/src/status_im2/contexts/chat/messages/content/deleted/view.cljs @@ -26,10 +26,10 @@ (i18n/label :t/deleted-this-message)]]) (defn- compute-on-long-press-fn - [{:keys [deleted? pinned] :as message} + [{:keys [deleted? pinned deleted-for-me?] :as message} {:keys [message-pin-enabled] :as context}] ;; only show drawer for user who has the permission to unpin messages - (when (and pinned deleted? message-pin-enabled) + (when (and pinned (or deleted? deleted-for-me?) message-pin-enabled) (fn [] (rf/dispatch [:dismiss-keyboard]) (rf/dispatch [:show-bottom-sheet