slightly improve bitfield handling for UnreadType
This commit is contained in:
parent
3c6c610f7c
commit
c81000d6c6
2 changed files with 3 additions and 6 deletions
|
|
@ -87,7 +87,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
|
|||
|
||||
final (event, roomMetadata) = pushResponse;
|
||||
|
||||
if (event.unreadType?.shouldNotify() != true ||
|
||||
if (event.unreadType?.has(.notify) != true ||
|
||||
(!isInBackground &&
|
||||
await windowManager.isFocused().onError((_, _) => true) &&
|
||||
await ref.read(
|
||||
|
|
|
|||
Loading…
Reference in a new issue