xep_0384: add plugin_multi_attrib for devices

This commit is contained in:
Maxime “pep” Buquet 2018-05-14 11:08:43 +02:00
parent e1c59d1c3d
commit 43cae6d871

View file

@ -27,6 +27,7 @@ class Device(ElementBase):
namespace = OMEMO_BASE_NS
name = 'device'
plugin_attrib = name
plugin_multi_attrib = 'devices'
interfaces = {'id'}