From 1339f878dcc9f7b0adcae0c998685d1b38faefaf Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 7 Dec 2020 17:12:18 +0100 Subject: [PATCH 1/3] fix mention tap --- lib/src/message_text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_text.dart b/lib/src/message_text.dart index a043c53a..64fc855d 100644 --- a/lib/src/message_text.dart +++ b/lib/src/message_text.dart @@ -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, ); From 1a1dd7e3c51f19fee7df92f7532d47c55e742f03 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Wed, 9 Dec 2020 15:24:41 +0100 Subject: [PATCH 2/3] version bp --- CHANGELOG.md | 2 ++ pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e9b9642..3df4143f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.2.17+1 + ## 0.2.17 - Expose messageInputDecoration as part of the theme diff --git a/pubspec.yaml b/pubspec.yaml index 5304c039..a400260e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_flutter homepage: https://github.com/GetStream/stream-chat-flutter description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter. -version: 0.2.17 +version: 0.2.17+1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues From ec01c6c1dbafb578af4dc102ee52b1d37e2b4a4e Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Wed, 9 Dec 2020 15:25:03 +0100 Subject: [PATCH 3/3] add changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df4143f..62efc4ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## 0.2.17+1 +- Fix mention tap bug + ## 0.2.17 - Expose messageInputDecoration as part of the theme