diff options
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index cfdeb271..c8d08441 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -1250,6 +1250,12 @@ class HandlerCore: self.core.information("Auto-reconnecting.", 'Info') self.core.xmpp.start() + async def on_reconnect_delay(self, event): + """ + When the reconnection is delayed + """ + self.core.information("Reconnecting in %d seconds..." % (event), 'Info') + def on_stream_error(self, event): """ When we receive a stream error |