Changeset 9970 for trunk/src/chat_control.py
- Timestamp:
- 07/20/08 17:06:21 (4 months ago)
- Files:
-
- 1 modified
-
trunk/src/chat_control.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chat_control.py
r9964 r9970 1136 1136 gpg_pref = gajim.config.get_per('contacts', contact.jid, 1137 1137 'gpg_enabled') 1138 e2e_pref = gajim.config.get_per('accounts', self.account, 1139 'autonegotiate_esessions') and gajim.config.get_per('contacts', 1140 contact.jid, 'autonegotiate_esessions') 1138 1141 1139 1142 # try GPG first … … 1156 1159 # then try E2E 1157 1160 # XXX: Once we have fallback to disco, remove notexistant check 1158 elif not e2e_is_active and gajim.HAVE_PYCRYPTO \ 1159 and gajim.config.get('autonegotiate_esessions') \ 1161 elif not e2e_is_active and gajim.HAVE_PYCRYPTO and e2e_pref \ 1160 1162 and gajim.capscache.is_supported(contact, NS_ESESSION) \ 1161 1163 and not gajim.capscache.is_supported(contact, 'notexistant'):
