diff src/plugins/plugin_xep_0045.py @ 279:51085ed613c3

removed old useless code
author Goffi <goffi@goffi.org>
date Tue, 01 Feb 2011 23:10:41 +0100
parents b1794cbb88e5
children 7c79d4a8c9e6
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]