Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Jajcus/pyxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Konieczny <jajcus@jajcus.net>2004-01-25 01:38:31 +0300
committerJacek Konieczny <jajcus@jajcus.net>2004-01-25 01:38:31 +0300
commita5983984b98ec7b30bd295233de4e0d82c6e0ab1 (patch)
tree22eae3cf2c46ce45b3e7472f79afb7728629584a /examples
parentd3bbd822ddd2b55be4f56287125a4affca55677d (diff)
- one get_version() is enough (duplicate removed)
Diffstat (limited to 'examples')
-rw-r--r--examples/echocomponent.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/echocomponent.py b/examples/echocomponent.py
index d35b1a5..7a7da8b 100644
--- a/examples/echocomponent.py
+++ b/examples/echocomponent.py
@@ -99,14 +99,6 @@ class Component(pyxmpp.jabberd.Component):
self.stream.send(iq)
return 1
- def get_version(self,iq):
- iq=iq.make_result_response()
- q=iq.new_query("jabber:iq:version")
- q.newTextChild(q.ns(),"name","Echo component")
- q.newTextChild(q.ns(),"version","1.0")
- self.stream.send(iq)
- return 1
-
def message(self,stanza):
subject=stanza.get_subject()
if subject: