Run gofmt

This commit is contained in:
Ross Schulman 2017-11-17 14:22:05 -05:00
parent 00c6f3c9d9
commit 4bf3c37fd3
No known key found for this signature in database
GPG key ID: B0BE985CB9823F55

View file

@ -15,16 +15,16 @@
package routing
import (
"net/http"
"fmt"
"net/http"
"github.com/matrix-org/util"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/common/config"
"github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/gomatrix"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
// RoomAliasToID converts the queried alias into a room ID and returns it
@ -52,7 +52,7 @@ var resp gomatrixserverlib.RespDirectory
return httputil.LogThenError(httpReq, err)
}
if (queryRes.RoomID == "") {
if queryRes.RoomID == "" {
// TODO: List servers that are aware of this room alias
resp = gomatrixserverlib.RespDirectory{
RoomID: queryRes.RoomID,