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

Zeroconf: Don't show self contact

Fixes #9090
parent 31f34991
Pipeline #4422 passed with stages
in 2 minutes and 52 seconds
......@@ -1843,9 +1843,11 @@ class RosterWindow:
self_jid = app.get_jid_from_account(account)
if app.connections[account].server_resource:
self_jid += '/' + app.connections[account].server_resource
array[self_jid] = {'name': app.nicks[account],
'groups': ['self_contact'], 'subscription': 'both',
'ask': 'none'}
if account != app.ZEROCONF_ACC_NAME:
array[self_jid] = {'name': app.nicks[account],
'groups': ['self_contact'],
'subscription': 'both',
'ask': 'none'}
# .keys() is needed
for jid in list(array.keys()):
......
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