Commit Graph

10 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
Mathieu Velten 738b372379 Merge remote-tracking branch 'origin/develop' into anoa/public_rooms_module_api 2023-05-16 17:41:39 +02:00
Andrew Morgan 2e59e97ebd
Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00: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
Andrew Morgan aec639e3e3
Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00
Andrew Morgan 4953cd71df
Move Account Validity callbacks to a dedicated file (#15237) 2023-03-16 10:35:31 +00:00