openclaw/extensions
teconomix fe8d0d5a9b fix(mattermost): normalize both sides before divergence check (ID=2965488514)
[[reply_to_current]] sets payload.replyToId to the child-post id inside the thread,
not the thread root. The raw !== comparison triggered false divergence: child-post !=
thread-root, even though they both resolve to the same Mattermost thread.

Fix: compute baseReplyToId via resolveMattermostReplyRootId without the payload, then
compare finalReplyToId against baseReplyToId. Both paths normalize child-post ids to
the thread root before comparison, so [[reply_to_current]] and explicit child-post
targets no longer falsely trigger the divergent-target path.
2026-03-20 16:39:27 +00:00
..
2026-03-18 01:02:16 -07:00