Unverified Commit e677c19c authored by Djorkaeff Alexandre's avatar Djorkaeff Alexandre Committed by GitHub
Browse files

[FIX] Empty mentions for @all and @here when real name is enabled (#1822)


Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent d1c63066
......@@ -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}
</Text>
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment