Commit Graph

6 Commits

Author SHA1 Message Date
Mathieu Velten a0ea6c1cba lint 2023-05-19 17:35:29 +02:00
Mathieu Velten 2362ef10a3 Fix stuffs 2023-05-19 16:56:26 +02:00
Mathieu Velten 74dbcaaab2 Fix stuffs 2023-05-19 16:46:02 +02:00
Mathieu Velten 79923666c5 Various fixups 2023-05-19 11:23:55 +02:00
Andrew Morgan 5c1e9f24da wip: call the public room callback 2023-05-02 15:23:32 +01:00
Andrew Morgan 2436153e8f Add a new public rooms callback class, a new fetch_public_rooms callback
fetch_public_rooms is a module API callback intended to be used when a
request for the homeserver's public rooms list comes in via either the
CS or SS API. Modules can return an ordered array of public rooms that
they would like to inject into the list supplied by the homeserver.

This can be useful for exposing known rooms that users on the
homeserver have not joined yet, and the property of mixing with the
normal public rooms list is desirable versus the solution of creating
a new third-party network type to load your rooms under.
2023-05-02 15:23:32 +01:00