diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/room_tagging.go b/src/github.com/matrix-org/dendrite/clientapi/routing/room_tagging.go index 9368014ef..d7c7d33d9 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/room_tagging.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/room_tagging.go @@ -198,11 +198,11 @@ func addDataToDB( } } -// getContentFromData is an utility function to obtain "content" from the ClientEvent +// getContentFromData is an utility function to obtain "content" from the ClientEvent func getContentFromData(data []gomatrixserverlib.ClientEvent) []gomatrixserverlib.RawJSON { var contentData []gomatrixserverlib.RawJSON - for i:=0 ; i< len(data); i++ { - contentData = append(contentData,data[i].Content) + for i := 0; i < len(data); i++ { + contentData = append(contentData, data[i].Content) } return contentData -} \ No newline at end of file +}