xep_0384: Remove useless getter

This commit is contained in:
Maxime “pep” Buquet 2018-05-13 14:28:55 +02:00
parent 186ab44b23
commit 39a7155176

View file

@ -29,11 +29,6 @@ class Device(ElementBase):
plugin_attrib = name
interfaces = {'id'}
def get_payload(self):
children = list(self.xml)
if len(children) > 0:
return children[0]
class Encrypted(ElementBase):
namespace = OMEMO_BASE_NS