Исправить подпись сигналов звонка и ширину чата

This commit is contained in:
AidarKC
2026-11-30 12:03:21 +03:00
parent c175a54a01
commit 1e52b4dd2a
13 changed files with 107 additions and 80 deletions
+4
View File
@@ -2620,6 +2620,10 @@ export async function startOutgoingCall(peerLogin, options = {}) {
scheduleOutgoingAckTimeout(call);
} catch (error) {
recordCallTimeline(call, 'invite_broadcast_failed', toErrorText(error), 'warn');
if (String(error?.code || '').toUpperCase() === 'NO_TARGET_SESSIONS') {
await finalizeCall(call, { localReasonCode: 'no_answer', debugReason: 'invite_failed:peer_offline' });
throw new Error(t('remaining.call.user_is_offline'));
}
const text = String(error?.message || '').toUpperCase();
const isNotAuth = text.includes('NOT_AUTHENTICATED');
if (isNotAuth) {