Merge branch 'fix-0084' into 'master'
xep_0084: fix typo and getters See merge request poezio/slixmpp!219
This commit is contained in:
commit
79607e43f1
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue