2008-05-29 04:49:03 +02:00
|
|
|
# mock notify module
|
|
|
|
|
|
|
|
notifications = []
|
|
|
|
|
|
|
|
def notify(event, jid, account, parameters, advanced_notif_num = None):
|
2010-02-08 15:08:40 +01:00
|
|
|
notifications.append((event, jid, account, parameters, advanced_notif_num))
|
2008-05-29 04:49:03 +02:00
|
|
|
|
|
|
|
def get_advanced_notification(event, account, contact):
|
2010-02-08 15:08:40 +01:00
|
|
|
return None
|
2008-05-29 04:49:03 +02:00
|
|
|
|
|
|
|
def get_show_in_roster(event, account, contact, session = None):
|
2010-02-08 15:08:40 +01:00
|
|
|
return True
|
2008-05-29 04:49:03 +02:00
|
|
|
|
|
|
|
def get_show_in_systray(event, account, contact, type_ = None):
|
2010-02-08 15:08:40 +01:00
|
|
|
return True
|