From 8a491f250d5e58e23d3d4d54ad353dbe97bdf06a Mon Sep 17 00:00:00 2001 From: Lasse Aagren Date: Mon, 23 May 2016 16:02:24 +0200 Subject: change muc_list delimiter from comma to colon in simple_notify --- plugins/simple_notify.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index c0c204fd..bc2ba8f6 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -50,12 +50,12 @@ Third example: [simple_notify] command = notify-send -i /path/to/poezio/data/poezio_80.png "New message from %(from)s" "%(body)s" muc_too = true - muc_list = someroom@conference.jabber.org,someotherroom@conference.jabber.org + muc_list = someroom@conference.jabber.org:someotherroom@conference.jabber.org If present and set to ``True``, the ``muc_too`` option will also trigger a notification when a new message arrives on a Multi User Chat you've joined. -If present and set to a comma separated list of muc JIDs, muc_list together +If present and set to a colon separated list of muc JIDs, muc_list together with muc_too = true will only notify when a new message arrives on a Multi User Chat, you've joined if it is present on the list. @@ -118,7 +118,7 @@ class Plugin(BasePlugin): fro = message['from'].full muc = message['from'].bare - whitelist=self.config.get('muc_list', '').split(',') + whitelist=self.config.get('muc_list', '').split(':') # Prevent old messages to be notified # find_delayed_tag(message) returns (True, the datetime) or -- cgit v1.2.3