ImagePlugin. add nbxmpp support
This commit is contained in:
@@ -8,9 +8,10 @@ import urllib2
|
|||||||
import chat_control
|
import chat_control
|
||||||
from plugins import GajimPlugin
|
from plugins import GajimPlugin
|
||||||
from plugins.helpers import log_calls
|
from plugins.helpers import log_calls
|
||||||
from common.xmpp.protocol import NS_XHTML_IM
|
|
||||||
from dialogs import ImageChooserDialog, ErrorDialog
|
from dialogs import ImageChooserDialog, ErrorDialog
|
||||||
|
|
||||||
|
NS_XHTML_IM = 'http://jabber.org/protocol/xhtml-im' # XEP-0071
|
||||||
|
|
||||||
|
|
||||||
class ImagePlugin(GajimPlugin):
|
class ImagePlugin(GajimPlugin):
|
||||||
@log_calls('ImagePlugin')
|
@log_calls('ImagePlugin')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Image
|
name: Image
|
||||||
short_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.
|
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.
|
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
|
||||||
Psi+ and Jabbim supported this.
|
Psi+ and Jabbim supported this.
|
||||||
|
|||||||
Reference in New Issue
Block a user