feat: add dm_close and dm_reopen federation relay event types

This commit is contained in:
Jannis Braun
2026-04-07 22:23:01 +02:00
parent 23f2863bdc
commit ba0df6305e
+6 -1
View File
@@ -808,7 +808,8 @@ export interface FederationRelayEvent {
| 'dm_call_start' | 'dm_call_accept' | 'dm_call_reject' | 'dm_call_end'
| 'dm_typing_start' | 'dm_typing_stop'
| 'profile_update'
| 'read_state_update';
| 'read_state_update'
| 'dm_close' | 'dm_reopen';
contextType?: 'dm' | 'friend' | 'profile';
dmChannelId?: string;
messageId: string;
@@ -849,6 +850,10 @@ export interface FederationRelayEvent {
user: { homeUserId: string; homeInstance: string };
messageRef: { sourceInstance: string; sourceMessageId: string };
};
dmCloseReopen?: {
homeUserId: string;
homeInstance: string;
};
}
export interface FederationCallPayload {