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

notify.py « test - dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e55e69598188483e63debf90e5b03779128c68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# mock notify module

notifications = []

def notify(event, jid, account, parameters, advanced_notif_num = None):
	notifications.append((event, jid, account, parameters, advanced_notif_num))

def get_advanced_notification(event, account, contact):
	return None

def get_show_in_roster(event, account, contact, session = None):
	return True

def get_show_in_systray(event, account, contact, type_ = None):
	return True