aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/routing.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-09-04 15:58:30 +0100
committerGitHub <noreply@github.com>2020-09-04 15:58:30 +0100
commit088294ee655282a32f7a418307408291f4299565 (patch)
tree2e3cabce42b85e4523d60096d0fa28f9cea5ae63 /clientapi/routing/routing.go
parent5076925c184998414c3691e97fc21b554abf4a55 (diff)
Remove QueryRoomsForUser from current state server (#1398)
Diffstat (limited to 'clientapi/routing/routing.go')
-rw-r--r--clientapi/routing/routing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go
index b29fccf2..0445852d 100644
--- a/clientapi/routing/routing.go
+++ b/clientapi/routing/routing.go
@@ -107,7 +107,7 @@ func Setup(
).Methods(http.MethodPost, http.MethodOptions)
r0mux.Handle("/joined_rooms",
httputil.MakeAuthAPI("joined_rooms", userAPI, func(req *http.Request, device *userapi.Device) util.JSONResponse {
- return GetJoinedRooms(req, device, stateAPI)
+ return GetJoinedRooms(req, device, rsAPI)
}),
).Methods(http.MethodGet, http.MethodOptions)
r0mux.Handle("/rooms/{roomID}/join",