openclaw/extensions/matrix
peter eaebed0e38
fix(matrix): only use 2-member DM fallback when dm refresh fails
Issue #54772 reports that two separate 2-person Matrix rooms with the same participants can both get routed as DMs. The regression comes from treating strict 2-member membership as a general fallback even when the DM cache is available and says the room is not a DM.

Move the catch from refreshDmCache() into isDirectMessage(). When the refresh succeeds, keep the existing client.dms.isDm(roomId) && isStrictDirectMembership(...) gate so non-DM 2-person rooms stay grouped. Only when the refresh fails do we fall back to the exact 2-member heuristic and keep the warning log.
2026-03-27 19:07:42 -04:00
..
src fix(matrix): only use 2-member DM fallback when dm refresh fails 2026-03-27 19:07:42 -04:00
CHANGELOG.md build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
api.ts refactor: route plugin sdk facades through extension barrels 2026-03-27 20:47:36 +00:00
helper-api.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
index.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
legacy-crypto-inspector.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
openclaw.plugin.json
package-manifest.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
package.json refactor(plugin-sdk): expose zod subpath 2026-03-27 09:55:47 +05:30
runtime-api.ts refactor: route plugin sdk facades through extension barrels 2026-03-27 20:47:36 +00:00
setup-entry.ts refactor: dedupe channel entrypoints and test bridges 2026-03-16 23:52:23 -07:00
test-api.ts refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
thread-bindings-runtime.ts Matrix: fix Jiti runtime API boundary 2026-03-19 11:40:44 -04:00