changeset 279:51085ed613c3

removed old useless code
author Goffi <goffi@goffi.org>
date Tue, 01 Feb 2011 23:10:41 +0100
parents 56d9c4cfdcfa
children 345844caf048
files src/plugins/plugin_xep_0045.py
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py	Tue Feb 01 23:08:06 2011 +0100
+++ b/src/plugins/plugin_xep_0045.py	Tue Feb 01 23:10:41 2011 +0100
@@ -41,16 +41,6 @@
 except ImportError:
     from wokkel.subprotocols import XMPPHandler
 
-AVATAR_PATH = "/avatars"
-
-IQ_GET = '/iq[@type="get"]'
-NS_VCARD = 'vcard-temp'
-VCARD_REQUEST = IQ_GET + '/vCard[@xmlns="' + NS_VCARD + '"]'  #TODO: manage requests
-
-PRESENCE = '/presence'
-NS_VCARD_UPDATE = 'vcard-temp:x:update'
-VCARD_UPDATE = PRESENCE + '/x[@xmlns="' +  NS_VCARD_UPDATE + '"]'
-
 PLUGIN_INFO = {
 "name": "XEP 0045 Plugin",
 "import_name": "XEP_0045",
@@ -145,7 +135,6 @@
             self.__err_joining_room(None, profile)
 
     def getHandler(self, profile):
-        #reactor.callLater(15,self.join,"conference.necton2.int", "test", "Goffi \o/", profile) 
         self.clients[profile] = SatMUCClient(self)
         return self.clients[profile]