diff options
Diffstat (limited to 'plugins/simple_notify.py')
-rw-r--r-- | plugins/simple_notify.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index cfb65e9b..29418f40 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -114,10 +114,11 @@ class Plugin(BasePlugin): def on_conversation_msg(self, message, tab): fro = message['from'].bare - self.do_notify(message, fro) + if fro.bare != self.core.xmpp.boundjid.bare: + self.do_notify(message, fro) def on_muc_msg(self, message, tab): - # Dont notify if message is from yourself + # Don't notify if message is from yourself if message['from'].resource == tab.own_nick: return |