added action cb mechanism for buttons. Tested with a temporary new user registration button.
This commit is contained in:
parent
bd70d6d7b6
commit
a103e8b41b
1 changed files with 226 additions and 66 deletions
|
|
@ -143,8 +143,8 @@ class XEP_0096(XMPPHandler):
|
|||
query=offer.addElement('query', 'http://jabber.org/protocol/bytestreams')
|
||||
query['mode']='tcp'
|
||||
streamhost=query.addElement('streamhost')
|
||||
streamhost['host']=self.host.memory.getParamV("IP", "File Transfert")
|
||||
streamhost['port']=self.host.memory.getParamV("Port", "File Transfert")
|
||||
streamhost['host']=self.host.memory.getParamA("IP", "File Transfert")
|
||||
streamhost['port']=self.host.memory.getParamA("Port", "File Transfert")
|
||||
streamhost['jid']=self.host.me.full()
|
||||
offer.send()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue