From 0b8f040d1650f9d6a568012cf4ac2722e6c35b49 Mon Sep 17 00:00:00 2001 From: SUMUKHA-PK Date: Thu, 14 Mar 2019 11:32:08 +0530 Subject: [PATCH] Build errors resolved --- .../matrix-org/dendrite/clientapi/routing/room_tagging.go | 6 +++--- 1 file changed, 3 insertions(+), 3 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 5d35cd693..6805c3e3a 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 @@ -41,7 +41,7 @@ func GetTag(req *http.Request, accountDB *accounts.Database, userID string, room JSON: jsonerror.NotFound("Bad method"), } } - mtag := NewMTag() + mtag := newMTag() localpart, _, err := gomatrixserverlib.SplitID('@', userID) if err != nil { @@ -91,7 +91,7 @@ func PutTag(req *http.Request, accountDB *accounts.Database, userID string, room if err != nil { return httputil.LogThenError(req, err) } - mtag := NewMTag() + mtag := newMTag() var properties common.TagProperties if reqErr := httputil.UnmarshalJSONRequest(req, &properties); reqErr != nil { @@ -143,7 +143,7 @@ func DeleteTag(req *http.Request, accountDB *accounts.Database, userID string, r if err != nil { return httputil.LogThenError(req, err) } - mtag := NewMTag() + mtag := newMTag() if len(data) > 0 { dataByte, _ := json.Marshal(data)