Merge branch 'feature/new-ui' into feature/choose-user
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.2.11+1
|
||||||
|
|
||||||
|
- Fix error with channel query while handling background notifications
|
||||||
|
|
||||||
## 0.2.11
|
## 0.2.11
|
||||||
|
|
||||||
- Update llc dependency
|
- Update llc dependency
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
name: example
|
name: example
|
||||||
description: A new Flutter project.
|
description: A new Flutter project.
|
||||||
|
version: 1.0.47+49
|
||||||
version: 1.0.46+48
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.2.2 <3.0.0"
|
sdk: ">=2.2.2 <3.0.0"
|
||||||
|
|||||||
@@ -199,15 +199,10 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
|
|||||||
.where((e) => e.user?.id != user.id)
|
.where((e) => e.user?.id != user.id)
|
||||||
.where((e) => e.message.silent != true)
|
.where((e) => e.message.silent != true)
|
||||||
.listen((event) async {
|
.listen((event) async {
|
||||||
var channel = client.state.channels[event.cid];
|
final channel = client.channel(
|
||||||
|
event.channelType,
|
||||||
if (channel == null) {
|
id: event.channelId,
|
||||||
channel = client.channel(
|
);
|
||||||
event.type,
|
|
||||||
id: event.cid.split(':')[1],
|
|
||||||
);
|
|
||||||
await channel.query();
|
|
||||||
}
|
|
||||||
|
|
||||||
client.showLocalNotification(
|
client.showLocalNotification(
|
||||||
event.message,
|
event.message,
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter
|
name: stream_chat_flutter
|
||||||
homepage: https://github.com/GetStream/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.
|
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
|
repository: https://github.com/GetStream/stream-chat-flutter
|
||||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ dependencies:
|
|||||||
file_picker: ^2.0.8+1
|
file_picker: ^2.0.8+1
|
||||||
image_picker: ^0.6.7+2
|
image_picker: ^0.6.7+2
|
||||||
flutter_keyboard_visibility: ^3.2.1
|
flutter_keyboard_visibility: ^3.2.1
|
||||||
stream_chat: ^0.2.10+2
|
stream_chat: ^0.2.11
|
||||||
emojis: ^0.9.3
|
emojis: ^0.9.3
|
||||||
mime: ^0.9.6+3
|
mime: ^0.9.6+3
|
||||||
visibility_detector: ^0.1.5
|
visibility_detector: ^0.1.5
|
||||||
|
|||||||
Reference in New Issue
Block a user