From 8d35f7f80ad42f751c09d89a6bcdc4536aad5ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 29 Dec 2018 12:26:42 +0100 Subject: [PATCH] xep_0384: Allow Devices in Items as well as EventItems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- stanza.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stanza.py b/stanza.py index 2c07c5f..47b248e 100644 --- a/stanza.py +++ b/stanza.py @@ -179,6 +179,7 @@ register_stanza_plugin(Header, Key) register_stanza_plugin(Header, IV) register_stanza_plugin(Encrypted, Payload) +register_stanza_plugin(Item, Devices) register_stanza_plugin(EventItem, Devices) register_stanza_plugin(Devices, Device, iterable=True)