From 39a7155176848efc777cec08ab4535616782bb48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 13 May 2018 14:28:55 +0200 Subject: [PATCH] xep_0384: Remove useless getter --- stanza.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stanza.py b/stanza.py index 1a41f88..15bd82e 100644 --- a/stanza.py +++ b/stanza.py @@ -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