Commit fcb33a10 authored by Philipp Hörist's avatar Philipp Hörist

Add missing get_instance() for Gateway/IQ module

parent d1ccfd51
Pipeline #2905 passed with stages
in 3 minutes and 40 seconds
......@@ -93,3 +93,7 @@ class Gateway:
def get_instance(*args, **kwargs):
return Gateway(*args, **kwargs), 'Gateway'
......@@ -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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment