use spec version instead of program version to determine which spec to use for notification-daemon. Fixes #4126

This commit is contained in:
Yann Leboulanger 2008-09-22 09:04:16 +00:00
parent a49138ccec
commit b4a645e882
1 changed files with 3 additions and 1 deletions

View File

@ -570,7 +570,9 @@ class DesktopNotification:
gajim.interface.handle_event(self.account, self.jid, self.msg_type)
def version_reply_handler(self, name, vendor, version, spec_version = None):
def version_reply_handler(self, name, vendor, version, spec_version=None):
if spec_version:
version = spec_version
version_list = version.split('.')
self.version = []
while len(version_list):