From e677c19ca460da6472838a9ff606bfaa52913d84 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Wed, 4 Mar 2020 10:52:13 -0300 Subject: [PATCH] [FIX] Empty mentions for @all and @here when real name is enabled (#1822) Co-authored-by: Diego Mello --- app/containers/markdown/AtMention.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/markdown/AtMention.js b/app/containers/markdown/AtMention.js index f9085baf..513dd880 100644 --- a/app/containers/markdown/AtMention.js +++ b/app/containers/markdown/AtMention.js @@ -43,7 +43,7 @@ const AtMention = React.memo(({ style={[mentionStyle, ...style]} onPress={handlePress} > - {useRealName ? user.name : user.username} + {useRealName && user.name ? user.name : user.username} ); }