Fix Stories navigation, sharing, and voice entry

This commit is contained in:
Manjunath committed 2026-11-16 20:12:10 +05:30
1 parent 5418438339
commit 9e9ce1db22
43 files changed
+744 -137

No files matched your search

+3 -1
View File
@@ -1,4 +1,5 @@
import { t } from '../i18n/index.js';
import { isStoriesOpen } from './realtimeInputPolicy.js';
const DISCONNECT_GRACE_MS = 6000;
@@ -52,7 +53,8 @@ export class RealtimeConnection {
return this.readStatus();
}
async start({ pushToTalk = false } = {}) {
if (this.isActive() || this.lifetimeSignal?.aborted) return;
if (isStoriesOpen() || this.isActive() || this.lifetimeSignal?.aborted)
return;
this.pauseRadioForVoice();
const pushToTalkKeyHeld = pushToTalk && this.input.pushToTalkKeyHeld;
const spaceKeyHeld = this.input.spaceKeyHeld;