From b4a645e8828688db1251aeaa0b45acdf548a8561 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 22 Sep 2008 09:04:16 +0000 Subject: [PATCH] use spec version instead of program version to determine which spec to use for notification-daemon. Fixes #4126 --- src/notify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/notify.py b/src/notify.py index 623a6529f..45e2ee1ad 100644 --- a/src/notify.py +++ b/src/notify.py @@ -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):