comparison src/plugins/plugin_xep_0096.py @ 400:22788653ae8d

plugin XEP-0096: minor cleaning
author Goffi <goffi@goffi.org>
date Thu, 06 Oct 2011 21:21:53 +0200
parents cb0285372818
children cf005701624b
comparison
equal deleted inserted replaced
399:3ed53803b3b3 400:22788653ae8d
31 from zope.interface import implements 31 from zope.interface import implements
32 32
33 from wokkel import disco, iwokkel, data_form 33 from wokkel import disco, iwokkel, data_form
34 34
35 IQ_SET = '/iq[@type="set"]' 35 IQ_SET = '/iq[@type="set"]'
36 NS_SI = 'http://jabber.org/protocol/si'
37 SI_REQUEST = IQ_SET + '/si[@xmlns="' + NS_SI + '"]'
38 PROFILE_NAME = "file-transfer" 36 PROFILE_NAME = "file-transfer"
39 PROFILE = "http://jabber.org/protocol/si/profile/" + PROFILE_NAME 37 PROFILE = "http://jabber.org/protocol/si/profile/" + PROFILE_NAME
40 38
41 PLUGIN_INFO = { 39 PLUGIN_INFO = {
42 "name": "XEP 0096 Plugin", 40 "name": "XEP 0096 Plugin",