diff options
author | Georg Lukas <georg@op-co.de> | 2019-03-26 11:31:51 +0100 |
---|---|---|
committer | Georg Lukas <georg@op-co.de> | 2019-03-26 11:32:15 +0100 |
commit | 910240afb6d2c180d0d6a4207a08d6b5a4c2f64b (patch) | |
tree | 7c733861440959a5c3e0bd9d3d93e4362e7957b0 | |
parent | f51d4951988c50fb306b607cc2b7f8361451f434 (diff) | |
download | poezio-910240afb6d2c180d0d6a4207a08d6b5a4c2f64b.tar.gz poezio-910240afb6d2c180d0d6a4207a08d6b5a4c2f64b.tar.bz2 poezio-910240afb6d2c180d0d6a4207a08d6b5a4c2f64b.tar.xz poezio-910240afb6d2c180d0d6a4207a08d6b5a4c2f64b.zip |
Display disconnect reason, depends on slixmpp!12
-rw-r--r-- | poezio/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 030a43e5..9cb9358e 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -1165,7 +1165,7 @@ class HandlerCore: for tab in self.core.get_tabs(tabs.MucTab): tab.disconnect() msg_typ = 'Error' if not self.core.legitimate_disconnect else 'Info' - self.core.information("Disconnected from server.", msg_typ) + self.core.information("Disconnected from server%s." % (event and ": %s" % event or ""), msg_typ) if self.core.legitimate_disconnect or not config.get( 'auto_reconnect', True): return |