fix(app): unmute race condition (#56)

This commit is contained in:
hampus-fluxer 2026-01-06 06:04:26 +01:00 committed by GitHub
parent b4ed5456a2
commit 2c0894312b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,12 +62,8 @@ class LocalVoiceStateStore {
);
this._disposers = [];
this.persistenceHydrationPromise = this.initPersistence();
this.persistenceHydrationPromise.then(() => {
this.enforcePermissionMuteIfNeeded();
});
this.initializePermissionSync();
this.initializeDevicePermissionSync();
this.enforcePermissionMuteIfNeeded();
}
private async initPersistence(): Promise<void> {