mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-22 16:24:10 +00:00
publicRooms should accept POST as well as GET (#1991)
This commit is contained in:
parent
037ff4fb23
commit
2dd5fd1fd6
@ -449,7 +449,7 @@ func Setup(
|
||||
httputil.MakeExternalAPI("federation_public_rooms", func(req *http.Request) util.JSONResponse {
|
||||
return GetPostPublicRooms(req, rsAPI)
|
||||
}),
|
||||
).Methods(http.MethodGet)
|
||||
).Methods(http.MethodGet, http.MethodPost)
|
||||
|
||||
v1fedmux.Handle("/user/keys/claim", httputil.MakeFedAPI(
|
||||
"federation_keys_claim", cfg.Matrix.ServerName, keys, wakeup,
|
||||
|
Loading…
Reference in New Issue
Block a user