summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index b52f5d9d..0e74d02d 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1033,6 +1033,8 @@ class HandlerCore:
"""
When we are disconnected from remote server
"""
+ if 'disconnect' in config.get('beep_on').split():
+ curses.beep()
roster.connected = 0
# Stop the ping plugin. It would try to send stanza on regular basis
self.core.xmpp.plugin['xep_0199'].disable_keepalive()