summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/handlers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 525613aa..6d775a78 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -477,7 +477,8 @@ def on_groupchat_message(self, message):
self.doupdate()
if 'message' in config.get('beep_on', 'highlight private').split():
- if not config.get_by_tabname('disable_beep', False, room_from, False):
+ if (not config.get_by_tabname('disable_beep', False, room_from, False)
+ and self.own_nick != message['from'].resource):
curses.beep()
def on_muc_own_nickchange(self, muc):