fix: update contextType casts to include 'profile', remove stale profileSync comments

This commit is contained in:
Jannis Braun
2026-04-07 14:05:19 +02:00
parent a023c85cad
commit 43900576b2
3 changed files with 5 additions and 5 deletions
@@ -170,7 +170,7 @@ async function processOutboxTick(): Promise<void> {
const isDm = entry.contextType === 'dm' || !entry.contextType;
const evt: FederationRelayEvent = {
eventType: entry.eventType as FederationRelayEvent['eventType'],
contextType: (entry.contextType ?? 'dm') as 'dm' | 'friend',
contextType: (entry.contextType ?? 'dm') as 'dm' | 'friend' | 'profile',
messageId: entry.entityId ?? '',
encryptionVersion: (entry.encryptionVersion ?? 0) as 0,
timestamp: entry.createdAt,