0.2.2 version
darcs-hash:20060801094437-86b55-b65c7561393748c7200b5c5a5752c8b64299b90e.gz
This commit is contained in:
@@ -47,6 +47,8 @@ from pyxmpp.jid import JID
|
|||||||
from pyxmpp.jabber.disco import DiscoItems, DiscoItem, DiscoInfo, DiscoIdentity
|
from pyxmpp.jabber.disco import DiscoItems, DiscoItem, DiscoInfo, DiscoIdentity
|
||||||
from pyxmpp.jabberd.component import Component
|
from pyxmpp.jabberd.component import Component
|
||||||
|
|
||||||
|
VERSION="0.2.2"
|
||||||
|
|
||||||
class ComponentFatalError(RuntimeError):
|
class ComponentFatalError(RuntimeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -502,7 +504,7 @@ class MailComponent(Component):
|
|||||||
iq = iq.make_result_response()
|
iq = iq.make_result_response()
|
||||||
q = iq.new_query("jabber:iq:version")
|
q = iq.new_query("jabber:iq:version")
|
||||||
q.newTextChild(q.ns(), "name", self.__name)
|
q.newTextChild(q.ns(), "name", self.__name)
|
||||||
q.newTextChild(q.ns(), "version", "0.2.1")
|
q.newTextChild(q.ns(), "version", VERSION)
|
||||||
self.stream.send(iq)
|
self.stream.send(iq)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user