comparison src/plugins/plugin_xep_0096.py @ 372:f964dcec1611

core: plugins refactored according to bridge + updatedValue now use profile
author Goffi <goffi@goffi.org>
date Wed, 06 Jul 2011 01:06:18 +0200
parents 7c79d4a8c9e6
children deeebf697d9a
comparison
equal deleted inserted replaced
371:3ea41a199b36 372:f964dcec1611
56 56
57 def __init__(self, host): 57 def __init__(self, host):
58 info(_("Plugin XEP_0096 initialization")) 58 info(_("Plugin XEP_0096 initialization"))
59 self.host = host 59 self.host = host
60 self._waiting_for_approval = {} 60 self._waiting_for_approval = {}
61 host.bridge.addMethod("sendFile", ".communication", in_sign='sss', out_sign='s', method=self.sendFile) 61 host.bridge.addMethod("sendFile", ".plugin", in_sign='sss', out_sign='s', method=self.sendFile)
62 62
63 def getHandler(self, profile): 63 def getHandler(self, profile):
64 return XEP_0096_handler(self) 64 return XEP_0096_handler(self)
65 65
66 def xep_96(self, IQ, profile): 66 def xep_96(self, IQ, profile):