diff options
Diffstat (limited to 'slixmpp/basexmpp.py')
-rw-r--r-- | slixmpp/basexmpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index f59c5c00..8419a676 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -203,9 +203,9 @@ class BaseXMPP(XMLStream): log.warning('Legacy XMPP 0.9 protocol detected.') self.event('legacy_protocol') - def process(self, timeout=None): + def process(self, *, forever=True, timeout=None): self.init_plugins() - XMLStream.process(self, timeout) + XMLStream.process(self, forever=forever, timeout=timeout) def init_plugins(self): for name in self.plugin: |