Skip to content
Snippets Groups Projects
Commit ae9f7ca4 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent a traceback when we disconnect a zeroconf socket wil a message attribute. Fixes #5049

parent ee5eb8b5
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ class P2PConnection(IdleObject, PlugIn):
self.disconnect()
return True
def disconnect(self):
def disconnect(self, message=''):
''' Closes the socket. '''
gajim.idlequeue.remove_timeout(self.fd)
gajim.idlequeue.unplug_idle(self.fd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment