summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2022-09-23 08:59:05 +0000
committerMaxime Buquet <pep@bouah.net>2022-09-23 08:59:05 +0000
commit79607e43f1a24b3d1f8f5e5695e054aae03caab6 (patch)
tree5546cefdafa0894316667e3437864ef7cd36253f
parent97b0c7ffac306402155443dfa06c832e758806eb (diff)
parente062181f84e2af4b622d6bba29b3024204769fe6 (diff)
downloadslixmpp-master.tar.gz
slixmpp-master.tar.bz2
slixmpp-master.tar.xz
slixmpp-master.zip
Merge branch 'fix-0084' into 'master'HEADmaster
xep_0084: fix typo and getters See merge request poezio/slixmpp!219
-rw-r--r--slixmpp/plugins/xep_0084/stanza.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0084/stanza.py b/slixmpp/plugins/xep_0084/stanza.py
index a2132c0b..ed83526e 100644
--- a/slixmpp/plugins/xep_0084/stanza.py
+++ b/slixmpp/plugins/xep_0084/stanza.py
@@ -80,16 +80,16 @@ class Info(ElementBase):
self._set_int('bytes', value)
def get_height(self) -> int:
- self._get_int('height')
+ return self._get_int('height')
def set_height(self, value: int):
self._set_int('height', value)
def get_width(self) -> int:
- self._get_int(self, 'width')
+ return self._get_int('width')
def set_width(self, value: int):
- self._set_int('with', value)
+ self._set_int('width', value)
class Pointer(ElementBase):