Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
203
Issues
203
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
d4663922
Commit
d4663922
authored
Sep 26, 2006
by
dkirov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix reconnect after name collision
parent
56d29dbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/common/zeroconf/connection_zeroconf.py
src/common/zeroconf/connection_zeroconf.py
+5
-4
No files found.
src/common/zeroconf/connection_zeroconf.py
View file @
d4663922
...
...
@@ -224,11 +224,11 @@ def connect(self, data = None, show = 'online', msg = ''):
self
.
zeroconf
.
host
=
self
.
host
self
.
zeroconf
.
port
=
self
.
port
if
self
.
connection
:
return
self
.
connection
,
''
if
self
.
zeroconf
.
connect
():
self
.
connection
=
client_zeroconf
.
ClientZeroconf
(
self
.
zeroconf
,
self
)
if
not
self
.
connection
:
self
.
connection
=
client_zeroconf
.
ClientZeroconf
(
self
.
zeroconf
,
self
)
else
:
self
.
zeroconf
.
announce
()
self
.
roster
=
self
.
connection
.
getRoster
()
self
.
dispatch
(
'ROSTER'
,
self
.
roster
)
...
...
@@ -278,6 +278,7 @@ def reconnect(self, new_port, use_tls):
self
.
zeroconf
.
remove_announce
()
self
.
zeroconf
.
txt
=
txt2
self
.
zeroconf
.
port
=
port
self
.
zeroconf
.
username
=
self
.
username
self
.
zeroconf
.
announce
()
def
change_status
(
self
,
show
,
msg
,
sync
=
False
,
auto
=
False
):
...
...
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