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

data.py « lib « test - dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e74e9c01b05654d3f3a450483d7135f9f77d0bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- coding: utf-8 -*-
account1 = u'acc1'
account2 = u'Cool"chârßéµö'
account3 = u'dingdong.org'

contacts = {}
contacts[account1] = {
	u'myjid@'+account1: {
			  'ask': None, 'groups': [], 'name': None, 'resources': {},
			  'subscription': u'both'},
	u'default1@gajim.org': {
			  'ask': None, 'groups': [], 'name': None, 'resources': {},
			  'subscription': u'both'},
	u'default2@gajim.org': {
			  'ask': None, 'groups': [u'GroupA',], 'name': None, 'resources': {},
			  'subscription': u'both'},
	u'Cool"chârßéµö@gajim.org': {
			  'ask': None, 'groups': [u'<Cool"chârßéµö', u'GroupB'],
			  'name': None, 'resources': {}, 'subscription': u'both'},
	u'samejid@gajim.org': {
			  'ask': None, 'groups': [u'GroupA',], 'name': None, 'resources': {},
			  'subscription': u'both'}
}
contacts[account2] = {
	u'myjid@'+account2: {
			  'ask': None, 'groups': [], 'name': None, 'resources': {},
			  'subscription': u'both'},
	u'default3@gajim.org': {
			  'ask': None, 'groups': [u'GroupC',], 'name': None, 'resources': {},
			  'subscription': u'both'},
	u'asksubfrom@gajim.org': {
			  'ask': u'subscribe', 'groups': [u'GroupA',], 'name': None,
			  'resources': {}, 'subscription': u'from'},
	u'subto@gajim.org': {
			  'ask': None, 'groups': [u'GroupB'], 'name': None, 'resources': {},
			  'subscription': u'to'},
	u'samejid@gajim.org': {
			  'ask': None, 'groups': [u'GroupA', u'GroupB'], 'name': None,
			  'resources': {}, 'subscription': u'both'}
}
contacts[account3] = {
	#u'guypsych0\\40h.com@msn.dingdong.org': {
	#		  'ask': None, 'groups': [], 'name': None, 'resources': {},
	#		  'subscription': u'both'},
	u'guypsych0%h.com@msn.delx.cjb.net': {
			  'ask': u'subscribe', 'groups': [], 'name': None,
			  'resources': {}, 'subscription': u'from'},
	#u'guypsych0%h.com@msn.jabber.wiretrip.org': {
	#		  'ask': None, 'groups': [], 'name': None, 'resources': {},
	#		  'subscription': u'to'},
	#u'guypsycho\\40g.com@gtalk.dingdong.org': {
	#		  'ask': None, 'groups': [], 'name': None,
	#		  'resources': {}, 'subscription': u'both'}
}
# We have contacts that are not in roster but only specified in the metadata
metacontact_data = [
	[{'account': account3,
	  'jid': u'guypsych0\\40h.com@msn.dingdong.org',
	  'order': 0},
	 {'account': account3,
	  'jid': u'guypsych0%h.com@msn.delx.cjb.net',
	  'order': 0},
	 {'account': account3,
	  'jid': u'guypsych0%h.com@msn.jabber.wiretrip.org',
	  'order': 0},
	 {'account': account3,
	  'jid': u'guypsycho\\40g.com@gtalk.dingdong.org',
	  'order': 0}],

	[{'account': account1,
	  'jid': u'samejid@gajim.org',
	  'order': 0},
	 {'account': account2,
	  'jid': u'samejid@gajim.org',
	  'order': 0}]
	]