Show
Ignore:
Timestamp:
05/27/08 12:24:29 (6 months ago)
Author:
asterix
Message:

remove pep options from pref window, store them per account, store caps_hash per account. see #3954

Files:
1 modified

Legend:

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

    r9640 r9699  
    151151                # prepopulate data which we are sure of; note: we do not log these info 
    152152 
    153                 gajimcaps = self[('sha-1', gajim.caps_hash)] 
    154                 gajimcaps.identities = [gajim.gajim_identity] 
    155                 gajimcaps.features = gajim.gajim_common_features + \ 
    156                         gajim.gajim_optional_features 
     153                for account in gajim.connections: 
     154                        gajimcaps = self[('sha-1', gajim.caps_hash[accout])] 
     155                        gajimcaps.identities = [gajim.gajim_identity] 
     156                        gajimcaps.features = gajim.gajim_common_features + \ 
     157                                gajim.gajim_optional_features[account] 
    157158 
    158159                # start logging data from the net