Merge branch 'fix-0084' into 'master'

xep_0084: fix typo and getters

See merge request poezio/slixmpp!219
This commit is contained in:
Maxime Buquet 2022-09-23 08:59:05 +00:00
commit 79607e43f1

View file

@ -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):