debug: add diagnostic logging to DM call accept flow

This commit is contained in:
Jannis Braun
2026-04-08 13:29:45 +02:00
parent df2701b17f
commit 70dbe04e6d
2 changed files with 17 additions and 2 deletions
+1
View File
@@ -3561,6 +3561,7 @@ function processDmCallAcceptEvent(
accepted: string[],
rejected: Array<{ messageId: string; reason: string }>,
): void {
console.log(`[S2S_CALL_ACCEPT] from=${sourceInstance} federatedId=${event.federatedId} acceptor=${JSON.stringify(event.call?.acceptor)}`);
if (!event.call?.acceptor || !event.federatedId) {
rejected.push({ messageId: event.messageId, reason: 'missing_call_payload' });
return;