From 1b747b6ee152c9006297fade0e7ba704902372c9 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 4 Jul 2026 12:56:53 +0200 Subject: [PATCH] plugin XEP-0447: fix wrong element used during parsing --- libervia/backend/plugins/plugin_xep_0447.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libervia/backend/plugins/plugin_xep_0447.py b/libervia/backend/plugins/plugin_xep_0447.py index 93022fb8..57882f7c 100644 --- a/libervia/backend/plugins/plugin_xep_0447.py +++ b/libervia/backend/plugins/plugin_xep_0447.py @@ -430,7 +430,7 @@ class XEP_0447: # however that should be fixed in future version, and so we accept several # element in a message. for file_sharing_elt in message_elt.elements(NS_SFS, "file-sharing"): - attachment = self.parse_file_sharing_elt(message_elt) + attachment = self.parse_file_sharing_elt(file_sharing_elt) if any( s.get(C.MESS_KEY_ENCRYPTED, False) for s in attachment["sources"]