From 04c66c4bcf07cf2441cd47d92a9c3d11420d4f13 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Wed, 29 Apr 2026 21:29:01 +0200 Subject: [PATCH] feat(federation): add optional type field to FederationRelayEvent.message --- packages/shared/src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/shared/src/types.ts b/packages/shared/src/types.ts index f979fdd7..23252671 100644 --- a/packages/shared/src/types.ts +++ b/packages/shared/src/types.ts @@ -851,6 +851,7 @@ export interface FederationRelayEvent { userId: string; homeUserId: string; homeInstance: string; + type?: 'user' | 'system'; content: string | null; replyToId: string | null; editedAt: number | null;