# HG changeset patch # User Goffi # Date 1296598241 -3600 # Node ID 51085ed613c357917a2eb8dc4230c72c2c12dbb8 # Parent 56d9c4cfdcfa5d4b70cd18efb9924f4250589fe5 removed old useless code diff -r 56d9c4cfdcfa -r 51085ed613c3 src/plugins/plugin_xep_0045.py --- 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]