Philipp Hörist pushed to branch master at gajim / gajim
Commits: fcb33a10 by Philipp Hörist at 2019-01-03T00:00:31Z Add missing get_instance() for Gateway/IQ module
- - - - -
2 changed files:
- gajim/common/modules/gateway.py - gajim/common/modules/iq.py
Changes:
===================================== gajim/common/modules/gateway.py ===================================== @@ -93,3 +93,7 @@ class Gateway: prompt=prompt, prompt_jid=prompt_jid, stanza=stanza)) + + +def get_instance(*args, **kwargs): + return Gateway(*args, **kwargs), 'Gateway'
===================================== gajim/common/modules/iq.py ===================================== @@ -85,3 +85,7 @@ class Iq: if len(id_) > 3 and id_[2] == '_': sid = id_[3:] return sid + + +def get_instance(*args, **kwargs): + return Iq(*args, **kwargs), 'Iq'
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/fcb33a10e711d15ccd0c1fd5fc5b3a12f84...