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

@@ -299,8 +299,7 @@ export async function runPreparedReply(
});
const isGroupSession =
sessionEntry?.chatType === "group" ||
sessionEntry?.chatType === "channel" ||
sessionEntry?.chatType === "room";
sessionEntry?.chatType === "channel";
const isMainSession = !isGroupSession && sessionKey === normalizeMainKey(sessionCfg?.mainKey);
prefixedBodyBase = await prependSystemEvents({
cfg,