changeset f687ff4e7172 in /home/hg/repos/gajim-plugins
author: tmolitor thilo@eightysoft.de branches: details:gajim-plugins?cmd=changeset;node=f687ff4e7172 description: merge in remote changes
diffstat:
gotr/manifest.ini | 2 +- gotr/otrmodule.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 870b7f3c7c74 -r f687ff4e7172 gotr/manifest.ini --- a/gotr/manifest.ini Sat Dec 26 10:20:27 2015 +0100 +++ b/gotr/manifest.ini Sat Dec 26 10:21:55 2015 +0100 @@ -1,7 +1,7 @@ [info] name: Off-The-Record Encryption short_name: gotr -version: 1.9.1 +version: 1.9.2 description: Provide OTR encryption. Read <a href="https://github.com/python-otr/gajim-otr/wiki">https://github.com/python-otr/gajim-otr/wiki</a> before use. authors: Kjell Braden afflux.gajim@pentabarf.de homepage: http://gajim-otr.pentabarf.de diff -r 870b7f3c7c74 -r f687ff4e7172 gotr/otrmodule.py --- a/gotr/otrmodule.py Sat Dec 26 10:20:27 2015 +0100 +++ b/gotr/otrmodule.py Sat Dec 26 10:21:55 2015 +0100 @@ -66,7 +66,7 @@ import time import sys from pprint import pformat -from distutils.version import StrictVersion +from distutils.version import LooseVersion
from common import gajim from common import ged @@ -279,7 +279,7 @@ self.handle_incoming_msg) self.events_handlers['before-change-show'] = (ged.PRECORE, self.handle_change_show) - if StrictVersion(gajim.config.get('version')) < StrictVersion(MINVERSION_OUTGOING_MSG_STAZA): + if LooseVersion(gajim.config.get('version')) < LooseVersion(MINVERSION_OUTGOING_MSG_STAZA): self.events_handlers['message-outgoing'] = (ged.OUT_PRECORE, self.handle_outgoing_msg) else: