diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py index d9158c5684514fcf2ef22ab4c14a9864a4f64924..730eb3ec34f0841d6a6a8c17c478f009b264f312 100644 --- a/src/common/zeroconf/client_zeroconf.py +++ b/src/common/zeroconf/client_zeroconf.py @@ -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)