changeset 873d456200c9 in /home/hg/repos/gajim-plugins
author: tmolitor thilo@eightysoft.de branches: details:gajim-plugins?cmd=changeset;node=873d456200c9 description: Fixed version detection bug
diffstat:
gotr/manifest.ini | 2 +- gotr/otrmodule.py | 3 +-- 2 Dateien ver?ndert, 2 Zeilen hinzugef?gt(+), 3 Zeilen entfernt(-)
Unterschiede (32 Zeilen):
diff -r c307cf81f963 -r 873d456200c9 gotr/manifest.ini --- a/gotr/manifest.ini Sat Oct 24 13:36:43 2015 +0200 +++ b/gotr/manifest.ini Sat Oct 24 16:08:04 2015 +0200 @@ -1,7 +1,7 @@ [info] name: Off-The-Record Encryption short_name: gotr -version: 1.9 +version: 1.9.1 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 c307cf81f963 -r 873d456200c9 gotr/otrmodule.py --- a/gotr/otrmodule.py Sat Oct 24 13:36:43 2015 +0200 +++ b/gotr/otrmodule.py Sat Oct 24 16:08:04 2015 +0200 @@ -69,7 +69,6 @@ from distutils.version import StrictVersion
import common.xmpp -from common import defs from common import gajim from common import ged from common.connection_handlers_events import MessageOutgoingEvent @@ -288,7 +287,7 @@ self.handle_incoming_msg) self.events_handlers['before-change-show'] = (ged.PRECORE, self.handle_change_show) - if StrictVersion(defs.version) < StrictVersion(MINVERSION_OUTGOING_MSG_STAZA): + if StrictVersion(gajim.config.get('version')) < StrictVersion(MINVERSION_OUTGOING_MSG_STAZA): self.events_handlers['message-outgoing'] = (ged.OUT_PRECORE, self.handle_outgoing_msg) else: