Fix pinned edited messages in communities

Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
Brian Sztamfater 2021-08-02 13:25:54 -03:00
parent d15860c93e
commit c96c2b44b4
No known key found for this signature in database
GPG Key ID: 59EB921E0706B48F
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@
:subtitle (i18n/label :t/view-details)
:chevron true
:accessibility-label :view-community-channel-details
:on-press #(hide-sheet-and-dispatch [:navigate-to :community-channel-details {:chat-id chat-id}])}]
:on-press #(do
(hide-sheet-and-dispatch [:navigate-to :community-channel-details {:chat-id chat-id}])
(re-frame/dispatch [::models.pin-message/load-pin-messages chat-id]))}]
[quo/list-item
{:theme :accent
:title (i18n/label :t/mark-all-read)