feat: add dm_close and dm_reopen federation relay event types
This commit is contained in:
@@ -808,7 +808,8 @@ export interface FederationRelayEvent {
|
|||||||
| 'dm_call_start' | 'dm_call_accept' | 'dm_call_reject' | 'dm_call_end'
|
| 'dm_call_start' | 'dm_call_accept' | 'dm_call_reject' | 'dm_call_end'
|
||||||
| 'dm_typing_start' | 'dm_typing_stop'
|
| 'dm_typing_start' | 'dm_typing_stop'
|
||||||
| 'profile_update'
|
| 'profile_update'
|
||||||
| 'read_state_update';
|
| 'read_state_update'
|
||||||
|
| 'dm_close' | 'dm_reopen';
|
||||||
contextType?: 'dm' | 'friend' | 'profile';
|
contextType?: 'dm' | 'friend' | 'profile';
|
||||||
dmChannelId?: string;
|
dmChannelId?: string;
|
||||||
messageId: string;
|
messageId: string;
|
||||||
@@ -849,6 +850,10 @@ export interface FederationRelayEvent {
|
|||||||
user: { homeUserId: string; homeInstance: string };
|
user: { homeUserId: string; homeInstance: string };
|
||||||
messageRef: { sourceInstance: string; sourceMessageId: string };
|
messageRef: { sourceInstance: string; sourceMessageId: string };
|
||||||
};
|
};
|
||||||
|
dmCloseReopen?: {
|
||||||
|
homeUserId: string;
|
||||||
|
homeInstance: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FederationCallPayload {
|
export interface FederationCallPayload {
|
||||||
|
|||||||
Reference in New Issue
Block a user