[mentions] Open profile on pressing mention in message

This commit is contained in:
Roman Volosovskyi 2020-08-11 13:10:04 +03:00
parent feb8dfce07
commit 7d19de4e69
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
outgoing colors/mention-outgoing
:else colors/mention-incoming)}
:on-press (when-not (= content-type constants/content-type-system-text)
#(re-frame/dispatch [:chat.ui/start-chat literal]))}
#(re-frame/dispatch [:chat.ui/show-profile literal]))}
[mention-element literal]])
"status-tag"
(conj acc [react/text-class