Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2018-06-30 12:02:30 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2018-06-30 12:02:30 +0300
commit5bc9822ceccdcaf5b67a21ebd0be6f1a71ebbcf9 (patch)
tree9b28999f30487310ae16a86666ae4204f1b44210 /test/lib
parent7fa4c9e1c2cdc751d7eeeec511e45b801238f8e1 (diff)
Call notify check methods with JID arg
For subscription requests we dont have a contact obj
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/notify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/notify.py b/test/lib/notify.py
index 9bf59ea83..2dd7e2628 100644
--- a/test/lib/notify.py
+++ b/test/lib/notify.py
@@ -27,8 +27,8 @@ def notify(event, jid, account, parameters, advanced_notif_num = None):
def get_advanced_notification(event, account, contact):
return None
-def get_show_in_roster(event, account, contact, session = None):
+def get_show_in_roster(event, account, jid, session=None):
return True
-def get_show_in_systray(event, account, contact, type_ = None):
+def get_show_in_systray(event, account, jid, type_=None):
return True