summaryrefslogtreecommitdiff
path: root/plugins/simple_notify.py
diff options
context:
space:
mode:
authorLasse Aagren <laa@one.com>2016-05-23 16:02:24 +0200
committerlouiz’ <louiz@louiz.org>2016-05-23 16:22:02 +0200
commit8a491f250d5e58e23d3d4d54ad353dbe97bdf06a (patch)
tree968bf29751f54d2c639a4dbe43f7d48200e9d7d4 /plugins/simple_notify.py
parenta68ace1971015cd6e4fb3b7973430215928794f8 (diff)
downloadpoezio-8a491f250d5e58e23d3d4d54ad353dbe97bdf06a.tar.gz
poezio-8a491f250d5e58e23d3d4d54ad353dbe97bdf06a.tar.bz2
poezio-8a491f250d5e58e23d3d4d54ad353dbe97bdf06a.tar.xz
poezio-8a491f250d5e58e23d3d4d54ad353dbe97bdf06a.zip
change muc_list delimiter from comma to colon in simple_notify
Diffstat (limited to 'plugins/simple_notify.py')
-rw-r--r--plugins/simple_notify.py6
1 files changed, 3 insertions, 3 deletions
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