diff options
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | src/core/handlers.py | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -152,6 +152,7 @@ we merge it to “master” as well, of course). - Todd Eisenberger (todd@teisen.be) - Plugin system and OTR support - Jérôme Parment (Manfraid) - Code, testing - Link Mauve - Code, testing + - Eijebong - Code - Gaëtan Ribémont (http://www.bonbref.com) - Logo design - Ovart - Testing - Koshie - Donation 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): |