@@ -1555,16 +1555,12 @@ class ClientState {
|
|||||||
_eventsSubscription!
|
_eventsSubscription!
|
||||||
..add(_client
|
..add(_client
|
||||||
.on()
|
.on()
|
||||||
.where((event) {
|
.where((event) =>
|
||||||
if (event.type == EventType.notificationMutesUpdated) {
|
event.me != null && event.type != EventType.healthCheck)
|
||||||
print("notificationMutesUpdated");
|
|
||||||
}
|
|
||||||
return event.me != null && event.type != EventType.healthCheck;
|
|
||||||
})
|
|
||||||
.map((e) => e.me!)
|
.map((e) => e.me!)
|
||||||
.listen((user) {
|
.listen((user) {
|
||||||
currentUser = currentUser?.merge(user) ?? user;
|
currentUser = currentUser?.merge(user) ?? user;
|
||||||
}))
|
}))
|
||||||
..add(_client
|
..add(_client
|
||||||
.on()
|
.on()
|
||||||
.map((event) => event.unreadChannels)
|
.map((event) => event.unreadChannels)
|
||||||
|
|||||||
Reference in New Issue
Block a user