Disable OTR until the libotr devs fix their very broken API.
This commit is contained in:
parent
82f27b27ed
commit
aaf3ca3161
1 changed files with 19 additions and 7 deletions
26
src/gajim.py
26
src/gajim.py
|
@ -256,14 +256,26 @@ from common import dataforms
|
||||||
|
|
||||||
from common.xmpp import Message as XmppMessage
|
from common.xmpp import Message as XmppMessage
|
||||||
|
|
||||||
try:
|
## We disable OTR for now as libotr's API is just totally broken.
|
||||||
import otr, otr_windows
|
## If you don't care about losing messages because they were unencrypted
|
||||||
|
## and libotr only noticing us via a HTML string about this (which is only
|
||||||
|
## displayed as a notice) and don't fear other bugs, you can manually
|
||||||
|
## enable it here.
|
||||||
|
##
|
||||||
|
## OTR will *NOT* be reenabled by default until the developers of libotr
|
||||||
|
## fix their very broken API!
|
||||||
|
|
||||||
gajim.otr_module = otr
|
#try:
|
||||||
gajim.otr_windows = otr_windows
|
# import otr, otr_windows
|
||||||
except ImportError:
|
#
|
||||||
gajim.otr_module = None
|
# gajim.otr_module = otr
|
||||||
gajim.otr_windows = None
|
# gajim.otr_windows = otr_windows
|
||||||
|
#except ImportError:
|
||||||
|
# gajim.otr_module = None
|
||||||
|
# gajim.otr_windows = None
|
||||||
|
|
||||||
|
gajim.otr_module = None
|
||||||
|
gajim.otr_windows = None
|
||||||
|
|
||||||
def add_appdata(data=None, context=None):
|
def add_appdata(data=None, context=None):
|
||||||
account = data
|
account = data
|
||||||
|
|
Loading…
Add table
Reference in a new issue