fix mention tap

This commit is contained in:
Salvatore Giordano
2020-12-07 17:12:18 +01:00
parent ea7c0f10f4
commit 1339f878dc
+1 -1
View File
@@ -31,7 +31,7 @@ class MessageText extends StatelessWidget {
) {
if (link.startsWith('@')) {
final mentionedUser = message.mentionedUsers.firstWhere(
(u) => '@${u.name.replaceAll(' ', '')}' == link,
(u) => '@${u.name}' == link,
orElse: () => null,
);