Commit graph

19 commits

Author SHA1 Message Date
Elliu
f6c749acca Add "please try invite" message when joinRoom in /api/link-space fails 2025-08-31 20:11:38 +09:00
Elliu
37da02d13a Fix /api/link-space joinRoom() for remote spaces 2025-08-31 19:44:36 +09:00
Cadence Ember
af79c96aeb Cleanup 2025-08-31 19:44:36 +09:00
Elliu
91d62e7b28 Fix matrix api joinRoom() for remote rooms
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.

It seems like the "via" information can also be stored in the
"m.space.parent" in the states of the room, but hopefully this shouldn't
be needed in sane implementations
2025-08-31 19:44:36 +09:00
Cadence Ember
7bfe140d08 More precise power level checking 2025-08-05 01:40:56 +12: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
f98c30cac3 Refactor web access control 2025-02-10 14:10:39 +13:00
Cadence Ember
a90d3b9055 Code coverage for link/unlink endpoints 2025-02-07 16:56:10 +13:00
Cadence Ember
d45a0bdc10 UI for linking existing space 2025-02-04 02:45:38 +13:00
Cadence Ember
443618b974 Log in with Matrix 2025-02-02 01:23:36 +13:00
Cadence Ember
ae57fa2801 Only announce if they can reasonably type here 2025-02-01 22:03:41 +13:00
Cadence Ember
5b21344a65 Add room list debugger 2025-02-01 01:40:59 +13:00
Cadence Ember
eb4aa615be Fix web loading indicators 2025-01-31 16:42:48 +13:00
Cadence Ember
b1b9124052 Fully support unlinking channels 2025-01-31 15:09:01 +13:00
Cadence Ember
de57bdaf3c Await syncRoom after linking 2025-01-12 13:32:39 +13:00
Cadence Ember
c127923f4d Make the link button do something 2024-10-18 16:35:47 +13:00