chore: oxfmt

main
Vignesh Natarajan 2026-02-02 21:19:13 -08:00 committed by Vignesh
parent 30098b04d7
commit 5915d479dc
1 changed files with 1 additions and 6 deletions

View File

@ -207,12 +207,7 @@ function deriveChatTypeFromSessionKey(sessionKey?: string): "direct" | "group" |
if (!parsed?.rest) {
return "direct";
}
const tokens = new Set(
parsed.rest
.toLowerCase()
.split(":")
.filter(Boolean),
);
const tokens = new Set(parsed.rest.toLowerCase().split(":").filter(Boolean));
if (tokens.has("channel")) {
return "channel";
}