Show
Ignore:
Timestamp:
05/14/08 20:30:39 (4 months ago)
Author:
asterix
Message:

fix caps hash computaion according to XEP-0115. fixes #3925

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/caps.py

    r9532 r9640  
    237237                node, hash = node.split('#', 1) 
    238238                computed_hash = helpers.compute_caps_hash(identities, features, 
    239                         contact.caps_hash_method) 
     239                        dataforms=dataforms, hash_method=contact.caps_hash_method) 
    240240                if computed_hash != hash: 
    241241                        # wrong hash, forget it