From 995b3ea207c60bc1c0e232a638b37d223b966240 Mon Sep 17 00:00:00 2001 From: Marco Alvarez Date: Tue, 2 Jan 2024 11:35:37 +0100 Subject: [PATCH] fix lint --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index d6d5322..8f22ab7 100644 --- a/portal.go +++ b/portal.go @@ -3502,7 +3502,7 @@ func (portal *Portal) convertMediaMessage(intent *appservice.IntentAPI, source * } // Sticker events require the URL field to be present https://spec.matrix.org/v1.9/client-server-api/#events-16 - // This seems to affect only clients based on the Rust SDK on encrypted channels (like Element X) + // This seems to affect only clients based on the Rust SDK on encrypted channels (like Element X) if typeName == "sticker" && converted.Content.File != nil { converted.Content.URL = converted.Content.File.URL }