[mentions] Open profile on pressing mention in message
This commit is contained in:
parent
feb8dfce07
commit
7d19de4e69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue