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 f66510e7c..afa08d2bd 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,6 +198,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++{