From 7e9d74918596d9af1e319adc17a94c554470176f Mon Sep 17 00:00:00 2001 From: SUMUKHA-PK Date: Thu, 2 May 2019 10:36:14 +0530 Subject: [PATCH] Build issues resolved --- .../matrix-org/dendrite/clientapi/routing/room_tagging.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +}