refactor: drop legacy room chatType

This commit is contained in:
Peter Steinberger
2026-01-17 05:40:28 +00:00
parent 07a3db153d
commit 8b42902cee
18 changed files with 19 additions and 42 deletions

View File

@@ -5,7 +5,6 @@ export function normalizeChatType(raw?: string): NormalizedChatType | undefined
if (!value) return undefined;
if (value === "direct" || value === "dm") return "direct";
if (value === "group") return "group";
if (value === "channel" || value === "room") return "channel";
if (value === "channel") return "channel";
return undefined;
}