Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastiaan Lokhorst
gajim
Commits
7101378b
Commit
7101378b
authored
Oct 29, 2019
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zeroconf: Don't show self contact
Fixes
#9090
parent
31f34991
Pipeline
#4423
passed with stages
in 2 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gajim/roster_window.py
gajim/roster_window.py
+5
-3
No files found.
gajim/roster_window.py
View file @
7101378b
...
...
@@ -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
()):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment