plugin XEP-0447: fix wrong element used during parsing
This commit is contained in:
parent
33f9554b94
commit
1b747b6ee1
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ class XEP_0447:
|
|||
# however that should be fixed in future version, and so we accept several
|
||||
# <file-sharing> 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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue