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] = {
|
2008-08-29 00:07:40 +02:00
|
|
|
u'myjid@'+account1: {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [], 'name': None, 'resources': {},
|
2008-08-29 00:07:40 +02:00
|
|
|
'subscription': u'both'},
|
2008-08-06 22:17:00 +02:00
|
|
|
u'default1@gajim.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [], 'name': None, 'resources': {},
|
2008-08-06 22:17:00 +02:00
|
|
|
'subscription': u'both'},
|
|
|
|
u'default2@gajim.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [u'GroupA',], 'name': None, 'resources': {},
|
2008-08-06 22:17:00 +02:00
|
|
|
'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] = {
|
2008-08-29 00:07:40 +02:00
|
|
|
u'myjid@'+account2: {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [], 'name': None, 'resources': {},
|
2008-08-29 00:07:40 +02:00
|
|
|
'subscription': u'both'},
|
2008-08-06 22:17:00 +02:00
|
|
|
u'default3@gajim.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [u'GroupC',], 'name': None, 'resources': {},
|
2008-08-06 22:17:00 +02:00
|
|
|
'subscription': u'both'},
|
|
|
|
u'asksubfrom@gajim.org': {
|
|
|
|
'ask': u'subscribe', 'groups': [u'GroupA',], 'name': None,
|
|
|
|
'resources': {}, 'subscription': u'from'},
|
|
|
|
u'subto@gajim.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [u'GroupB'], 'name': None, 'resources': {},
|
2008-08-06 22:17:00 +02:00
|
|
|
'subscription': u'to'},
|
|
|
|
u'samejid@gajim.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
'ask': None, 'groups': [u'GroupA', u'GroupB'], 'name': None,
|
2008-08-06 22:17:00 +02:00
|
|
|
'resources': {}, 'subscription': u'both'}
|
|
|
|
}
|
2008-08-19 00:15:45 +02:00
|
|
|
contacts[account3] = {
|
|
|
|
#u'guypsych0\\40h.com@msn.dingdong.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
# 'ask': None, 'groups': [], 'name': None, 'resources': {},
|
2008-08-19 00:15:45 +02:00
|
|
|
# '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': {
|
2008-12-03 23:44:02 +01:00
|
|
|
# 'ask': None, 'groups': [], 'name': None, 'resources': {},
|
2008-08-19 00:15:45 +02:00
|
|
|
# 'subscription': u'to'},
|
|
|
|
#u'guypsycho\\40g.com@gtalk.dingdong.org': {
|
2008-12-03 23:44:02 +01:00
|
|
|
# 'ask': None, 'groups': [], 'name': None,
|
2008-08-19 00:15:45 +02:00
|
|
|
# 'resources': {}, 'subscription': u'both'}
|
|
|
|
}
|
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 = [
|
|
|
|
[{'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}]
|
|
|
|
]
|
2008-08-06 22:17:00 +02:00
|
|
|
|
2009-01-11 14:49:03 +01:00
|
|
|
# vim: se ts=3:
|