feat: fix caller exclusion (Bug 1) and add Path B receiver processing

This commit is contained in:
Jannis Braun
2026-04-08 03:09:16 +02:00
parent 2538bb5e4c
commit 2c7eefc7b1
2 changed files with 125 additions and 40 deletions
+2 -1
View File
@@ -409,7 +409,7 @@ export type ServerEvent =
| { type: 'channel_ack'; channelId: string; messageId: string }
| { type: 'friend_request_received'; request: FriendRequest }
| { type: 'friend_request_accepted'; friend: Friend; requestId: string }
| { type: 'dm_call_incoming'; dmChannelId: string; callerId: string; callerName: string; livekitUrl?: string; livekitToken?: string }
| { type: 'dm_call_incoming'; dmChannelId: string | null; federatedCallId?: string; callerId: string; callerName: string; livekitUrl?: string; livekitToken?: string; callOrigin?: string }
| { type: 'dm_call_accepted'; dmChannelId: string }
| { type: 'dm_call_rejected'; dmChannelId: string }
| { type: 'dm_call_ended'; dmChannelId: string }
@@ -864,6 +864,7 @@ export interface FederationCallPayload {
acceptor?: { homeUserId: string; homeInstance: string };
rejector?: { homeUserId: string; homeInstance: string };
endedBy?: { homeUserId: string; homeInstance: string };
participants?: FederationRelayParticipant[]; // All DM members for Path B identity matching
}
export interface FederationMembershipPayload {