Merge branch 'master' into feature/new-ui

This commit is contained in:
Salvatore Giordano
2020-11-10 17:42:24 +01:00
4 changed files with 10 additions and 12 deletions
+4
View File
@@ -1,3 +1,7 @@
## 0.2.11+1
- Fix error with channel query while handling background notifications
## 0.2.11
- Update llc dependency
+1 -2
View File
@@ -1,7 +1,6 @@
name: example
description: A new Flutter project.
version: 1.0.43+45
version: 1.0.44+46
environment:
sdk: ">=2.2.2 <3.0.0"
+4 -9
View File
@@ -199,15 +199,10 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
.where((e) => e.user?.id != user.id)
.where((e) => e.message.silent != true)
.listen((event) async {
var channel = client.state.channels[event.cid];
if (channel == null) {
channel = client.channel(
event.type,
id: event.cid.split(':')[1],
);
await channel.query();
}
final channel = client.channel(
event.channelType,
id: event.channelId,
);
client.showLocalNotification(
event.message,
+1 -1
View File
@@ -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.11
version: 0.2.11+1
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues