mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Remove unnecessary change
This commit is contained in:
parent
e9c667ea6b
commit
0a3817170b
|
|
@ -240,10 +240,10 @@ func GetVisibility(
|
|||
req *http.Request, rsAPI roomserverAPI.RoomserverInternalAPI,
|
||||
roomID string,
|
||||
) util.JSONResponse {
|
||||
res := &roomserverAPI.QueryPublishedRoomsResponse{}
|
||||
res := roomserverAPI.QueryPublishedRoomsResponse{}
|
||||
err := rsAPI.QueryPublishedRooms(req.Context(), &roomserverAPI.QueryPublishedRoomsRequest{
|
||||
RoomID: roomID,
|
||||
}, res)
|
||||
}, &res)
|
||||
if err != nil {
|
||||
util.GetLogger(req.Context()).WithError(err).Error("QueryPublishedRooms failed")
|
||||
return jsonerror.InternalServerError()
|
||||
|
|
|
|||
Loading…
Reference in a new issue