fix typo. Now caps are correctly reset when a contact goes offline. Fixes #4181
This commit is contained in:
parent
e33d88d2ee
commit
bda1d9cd56
|
@ -238,7 +238,7 @@ class ConnectionCaps(object):
|
|||
if not caps:
|
||||
contact.caps_node = None
|
||||
contact.caps_hash = None
|
||||
contact.hash_method = None
|
||||
contact.caps_hash_method = None
|
||||
return
|
||||
|
||||
hash_method, node, hash = caps['hash'], caps['node'], caps['ver']
|
||||
|
|
Loading…
Reference in New Issue