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

fix duplicate function name. This fixes caps problem.

parent 860668b7
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class ConnectionCaps(object):
gajim.ged.register_event_handler('caps-presence-received', ged.GUI1,
self._nec_caps_presence_received)
gajim.ged.register_event_handler('agent-info-received', ged.GUI1,
self._nec_agent_info_received)
self._nec_agent_info_received_caps)
def caps_change_account_name(self, new_name):
self._account = new_name
......@@ -72,7 +72,7 @@ class ConnectionCaps(object):
contact = gajim.contacts.get_gc_contact(self._account, room_jid, nick)
return contact
def _nec_agent_info_received(self, obj):
def _nec_agent_info_received_caps(self, obj):
"""
callback to update our caps cache with queried information after
we have retrieved an unknown caps hash and issued a disco
......
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