feat(shared): add dm_typing_start and dm_typing_stop to FederationRelayEvent

This commit is contained in:
Jannis Braun
2026-04-01 12:50:57 +02:00
parent 187f71e68e
commit b5fbc9d90e
+7 -1
View File
@@ -758,7 +758,8 @@ export interface FederationRelayEvent {
| 'member_add' | 'member_remove' | 'ownership_transfer'
| 'friend_request_create' | 'friend_request_update' | 'friend_request_cancel'
| 'friend_add' | 'friend_remove' | 'file_rejected'
| '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';
contextType?: 'dm' | 'friend';
dmChannelId?: string;
messageId: string;
@@ -789,6 +790,11 @@ export interface FederationRelayEvent {
rejectionLimit?: number;
affectedUserIds?: string[];
call?: FederationCallPayload;
typing?: {
homeUserId: string;
homeInstance: string;
username: string;
};
}
export interface FederationCallPayload {