fix condition

This commit is contained in:
Salvatore Giordano
2020-11-09 09:44:10 +01:00
parent 6613476700
commit 1285f82a64
+1 -1
View File
@@ -186,7 +186,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
.listen((event) async {
var channel = client.state.channels[event.cid];
if (channel != null) {
if (channel == null) {
channel = client.channel(
event.channelType,
id: event.channelId,