Commit 7101378b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Zeroconf: Don't show self contact

Fixes #9090
parent 31f34991
Pipeline #4423 passed with stages
in 2 minutes and 53 seconds
......@@ -1843,8 +1843,10 @@ class RosterWindow:
self_jid = app.get_jid_from_account(account)
if app.connections[account].server_resource:
self_jid += '/' + app.connections[account].server_resource
if account != app.ZEROCONF_ACC_NAME:
array[self_jid] = {'name': app.nicks[account],
'groups': ['self_contact'], 'subscription': 'both',
'groups': ['self_contact'],
'subscription': 'both',
'ask': 'none'}
# .keys() is needed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment