From 0c1b1395b45c1dfaf958bcda09ad1cd39079dd92 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 26 Dec 2012 16:35:49 +0400 Subject: [PATCH] ImagePlugin. add nbxmpp support --- image/image.py | 3 ++- image/manifest.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/image/image.py b/image/image.py index 6770428..899960a 100644 --- a/image/image.py +++ b/image/image.py @@ -8,9 +8,10 @@ import urllib2 import chat_control from plugins import GajimPlugin from plugins.helpers import log_calls -from common.xmpp.protocol import NS_XHTML_IM from dialogs import ImageChooserDialog, ErrorDialog +NS_XHTML_IM = 'http://jabber.org/protocol/xhtml-im' # XEP-0071 + class ImagePlugin(GajimPlugin): @log_calls('ImagePlugin') diff --git a/image/manifest.ini b/image/manifest.ini index 1a1f7cf..2718e2a 100644 --- a/image/manifest.ini +++ b/image/manifest.ini @@ -1,7 +1,7 @@ [info] name: Image short_name: image -version: 0.4 +version: 0.5 description: This plugin is designed to send a small(0 - 40 kb) graphic image to your contact. Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI. Psi+ and Jabbim supported this.