This commit is contained in:
Maik Schreiber authored and GitHub committed 2026-01-30 21:36:29 +08:00
commit a0b869f4ee
1 file changed
+1 -1
@@ -516,7 +516,7 @@ export async function monitorMattermostProvider(opts: MonitorMattermostOpts = {}
});
const baseSessionKey = route.sessionKey;
const threadRootId = post.root_id?.trim() || undefined;
const threadRootId = post.root_id?.trim() || (kind !== "dm" ? post.id : undefined);
const threadKeys = resolveThreadSessionKeys({
baseSessionKey,
threadId: threadRootId,