mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
thinko with push checks
This commit is contained in:
parent
dbddba3691
commit
3313d0623a
@ -515,7 +515,7 @@ export class Session {
|
||||
}
|
||||
|
||||
async arePushNotificationsEnabled() {
|
||||
if (await this._platform.notificationService.isPushEnabled()) {
|
||||
if (!await this._platform.notificationService.isPushEnabled()) {
|
||||
return false;
|
||||
}
|
||||
const readTxn = await this._storage.readTxn([this._storage.storeNames.session]);
|
||||
|
Loading…
Reference in New Issue
Block a user