This commit is contained in:
Marco Alvarez 2024-01-02 11:35:37 +01:00
parent 0ebb235e61
commit 995b3ea207

View file

@ -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
}