2008-08-06 22:17:00 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
account1 = u'acc1'
|
|
|
|
account2 = u'Cool"chârßéµö'
|
2008-08-19 00:15:45 +02:00
|
|
|
account3 = u'dingdong.org'
|
2008-08-06 22:17:00 +02:00
|
|
|
|
|
|
|
contacts = {}
|
|
|
|
contacts[account1] = {
|
2010-02-08 15:08:40 +01:00
|
|
|
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'}
|
2008-08-06 22:17:00 +02:00
|
|
|
}
|
|
|
|
contacts[account2] = {
|
2010-02-08 15:08:40 +01:00
|
|
|
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'}
|
2008-08-06 22:17:00 +02:00
|
|
|
}
|
2008-08-19 00:15:45 +02:00
|
|
|
contacts[account3] = {
|
2010-02-08 15:08:40 +01:00
|
|
|
#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'}
|
2008-08-19 00:15:45 +02:00
|
|
|
}
|
2009-01-11 14:49:03 +01:00
|
|
|
|
2008-08-29 00:07:40 +02:00
|
|
|
# We have contacts that are not in roster but only specified in the metadata
|
2008-08-19 00:15:45 +02:00
|
|
|
metacontact_data = [
|
2010-02-08 15:08:40 +01:00
|
|
|
[{'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}],
|
2008-08-19 00:15:45 +02:00
|
|
|
|
2010-02-08 15:08:40 +01:00
|
|
|
[{'account': account1,
|
|
|
|
'jid': u'samejid@gajim.org',
|
|
|
|
'order': 0},
|
|
|
|
{'account': account2,
|
|
|
|
'jid': u'samejid@gajim.org',
|
|
|
|
'order': 0}]
|
|
|
|
]
|