mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 11:13:12 -06:00
Remove unnecessary change
This commit is contained in:
parent
0a3817170b
commit
927f6902eb
|
|
@ -240,7 +240,7 @@ func GetVisibility(
|
|||
req *http.Request, rsAPI roomserverAPI.RoomserverInternalAPI,
|
||||
roomID string,
|
||||
) util.JSONResponse {
|
||||
res := roomserverAPI.QueryPublishedRoomsResponse{}
|
||||
var res roomserverAPI.QueryPublishedRoomsResponse
|
||||
err := rsAPI.QueryPublishedRooms(req.Context(), &roomserverAPI.QueryPublishedRoomsRequest{
|
||||
RoomID: roomID,
|
||||
}, &res)
|
||||
|
|
|
|||
Loading…
Reference in a new issue