remove unused class parameter
This commit is contained in:
parent
7de87c19a0
commit
aef4452ff5
|
@ -1421,7 +1421,7 @@ ConnectionJingle, ConnectionIBBytestream):
|
||||||
gajim.nec.register_incoming_event(PresenceReceivedEvent)
|
gajim.nec.register_incoming_event(PresenceReceivedEvent)
|
||||||
|
|
||||||
ConnectionCaps.__init__(self, account=self.name,
|
ConnectionCaps.__init__(self, account=self.name,
|
||||||
dispatch_event=self.dispatch, capscache=capscache.capscache,
|
capscache=capscache.capscache,
|
||||||
client_caps_factory=capscache.create_suitable_client_caps)
|
client_caps_factory=capscache.create_suitable_client_caps)
|
||||||
ConnectionJingle.__init__(self)
|
ConnectionJingle.__init__(self)
|
||||||
ConnectionHandlersBase.__init__(self)
|
ConnectionHandlersBase.__init__(self)
|
||||||
|
|
|
@ -34,9 +34,8 @@ from common.connection_handlers_events import CapsPresenceReceivedEvent, \
|
||||||
|
|
||||||
class ConnectionCaps(object):
|
class ConnectionCaps(object):
|
||||||
|
|
||||||
def __init__(self, account, dispatch_event, capscache, client_caps_factory):
|
def __init__(self, account, capscache, client_caps_factory):
|
||||||
self._account = account
|
self._account = account
|
||||||
self._dispatch_event = dispatch_event
|
|
||||||
self._capscache = capscache
|
self._capscache = capscache
|
||||||
self._create_suitable_client_caps = client_caps_factory
|
self._create_suitable_client_caps = client_caps_factory
|
||||||
gajim.nec.register_incoming_event(CapsPresenceReceivedEvent)
|
gajim.nec.register_incoming_event(CapsPresenceReceivedEvent)
|
||||||
|
|
Loading…
Reference in New Issue