Changeset 9646

Show
Ignore:
Timestamp:
05/16/08 17:29:23 (3 months ago)
Author:
js
Message:

Disable OTR until the libotr devs fix their very broken API.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r9642 r9646  
    257257from common.xmpp import Message as XmppMessage 
    258258 
    259 try: 
    260         import otr, otr_windows 
    261  
    262         gajim.otr_module = otr 
    263         gajim.otr_windows = otr_windows 
    264 except ImportError: 
    265         gajim.otr_module = None 
    266         gajim.otr_windows = None 
     259## We disable OTR for now as libotr's API is just totally broken. 
     260## If you don't care about losing messages because they were unencrypted 
     261## and libotr only noticing us via a HTML string about this (which is only 
     262## displayed as a notice) and don't fear other bugs, you can manually 
     263## enable it here. 
     264## 
     265## OTR will *NOT* be reenabled by default until the developers of libotr 
     266## fix their very broken API! 
     267 
     268#try: 
     269#       import otr, otr_windows 
     270# 
     271#       gajim.otr_module = otr 
     272#       gajim.otr_windows = otr_windows 
     273#except ImportError: 
     274#       gajim.otr_module = None 
     275#       gajim.otr_windows = None 
     276 
     277gajim.otr_module = None 
     278gajim.otr_windows = None 
    267279 
    268280def add_appdata(data=None, context=None):