fix activity center community invite preview (#12803)

This commit is contained in:
Parvesh Monu 2021-11-08 19:22:28 +05:30 committed by GitHub
parent 9b5cbf8258
commit e16f7161c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
;;TODO (perf) move to event
(home-item/memo-timestamp timestamp)]
[react/view {:style styles/notification-message-container}
[home-item/message-content-text (select-keys message [:content :content-type]) false]
[home-item/message-content-text (select-keys message [:content :content-type :community-id]) false]
(cond (= type constants/activity-center-notification-type-mention)
[react/view {:style styles/group-info-container
:accessibility-label :chat-name-container}
@ -89,4 +89,4 @@
:width 18
:height 18
:container-style styles/reply-icon}]
[home-item/message-content-text (select-keys reply-message [:content :content-type]) false]])]]]))
[home-item/message-content-text (select-keys reply-message [:content :content-type :community-id]) false]])]]]))