mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
publicRooms should accept POST as well as GET (#1991)
This commit is contained in:
parent
037ff4fb23
commit
2dd5fd1fd6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue