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
..
2026-03-27 09:55:47 +05:30
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 20:20:31 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 22:59:11 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:07:54 -05:00
2026-03-27 02:26:07 +00:00
2026-03-27 09:55:47 +05:30
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 22:40:30 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:40:27 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 17:23:40 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 02:03:22 +00:00
2026-03-27 02:03:22 +00:00
2026-03-27 19:07:42 -04:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:40:27 +00:00
2026-03-27 16:40:27 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 02:03:22 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 15:11:33 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:57:16 -05:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:40:27 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:40:27 +00:00
2026-03-27 22:40:30 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 16:05:22 -05:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-26 02:04:54 -07:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-27 21:37:09 +00:00
2026-03-12 23:03:19 +00:00