Commit Graph
7 Commits
Author SHA1 Message Date
ElliuandCadence Ember d95a114377 Fix matrix api joinRoom() for remote rooms (#60)
When using self-service mode and trying to link with a remote matrix
room (room not in the same HS as the bridge user), then we need to add
the "via" HSs to join the room with, or else it fails.

We get it from the "m.space.child" in the "children_state" of the space
hierarchy.

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: https://gitdab.com/cadence/out-of-your-element/pulls/60
Co-authored-by: Elliu <elliu@hashi.re>
Co-committed-by: Elliu <elliu@hashi.re>
2025-11-02 07:50:16 +00:00
Cadence Ember 50a047249b Check hierarchy instead of m.space.child 2025-06-22 18:38:20 +12:00
Cadence Ember 62be5f7091 Code coverage for web settings 2025-02-21 16:41:43 +13:00
Cadence Ember ed417e029f Preserve name/avatar/topic of linked rooms 2025-02-18 01:46:54 +13:00
Cadence Ember 438714b67e Try to join space rooms in link flow 2025-02-18 01:30:28 +13:00
Cadence Ember b2078620be Code coverage for matrix log in & guild settings 2025-02-08 16:05:35 +13:00
Cadence Ember a90d3b9055 Code coverage for link/unlink endpoints 2025-02-07 16:56:10 +13:00