From 689e3280c4ebd6857f4c52eef19367f75fbff77a Mon Sep 17 00:00:00 2001 From: SUMUKHA-PK Date: Thu, 2 May 2019 10:08:21 +0530 Subject: [PATCH] Build errors resolved --- .../matrix-org/dendrite/clientapi/routing/room_tagging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 afa08d2bd..9368014ef 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 @@ -201,7 +201,7 @@ func addDataToDB( // 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++{ + for i:=0 ; i< len(data); i++ { contentData = append(contentData,data[i].Content) } return contentData