From c177a32f3c432bed7c3cce510e8a63a0bd331895 Mon Sep 17 00:00:00 2001 From: SUMUKHA-PK Date: Fri, 2 Aug 2019 16:27:48 +0530 Subject: [PATCH] Suggested changes made --- clientapi/routing/room_tagging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/room_tagging.go b/clientapi/routing/room_tagging.go index 42b0b0c63..6e7324cd8 100644 --- a/clientapi/routing/room_tagging.go +++ b/clientapi/routing/room_tagging.go @@ -163,7 +163,7 @@ func DeleteTag( } } - tagContent := newTag() + var tagContent gomatrix.TagContent err = json.Unmarshal(data[0].Content, &tagContent) if err != nil { return httputil.LogThenError(req, err)