comparison frontends/src/primitivus/chat.py @ 387:e66d300c5d42

frontends, bridge: sendFile method signature change + jid parameters in bridge now use _jid suffix
author Goffi <goffi@goffi.org>
date Thu, 29 Sep 2011 12:13:22 +0200
parents 1f7a14d0343d
children 7c7ec2347b56
comparison
equal deleted inserted replaced
386:deeebf697d9a 387:e66d300c5d42
281 281
282 #MISC EVENTS# 282 #MISC EVENTS#
283 def onFileSelected(self, filepath): 283 def onFileSelected(self, filepath):
284 self.host.removePopUp() 284 self.host.removePopUp()
285 full_jid = self.host.CM.get_full(self.target) 285 full_jid = self.host.CM.get_full(self.target)
286 id = self.host.bridge.sendFile(full_jid, filepath) 286 id = self.host.bridge.sendFile(full_jid, filepath, {}, self.host.profile)
287 self.host.addProgress(id,filepath) 287 self.host.addProgress(id,filepath)