Software / code / verse
Comparison
plugins/jingle.lua @ 211:837cd09fcf01
plugins.jingle: Logging fix
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 14 Aug 2011 21:45:21 +0200 |
| parent | 197:7e98cf2c1d8d |
| child | 220:5e5af66b03fd |
comparison
equal
deleted
inserted
replaced
| 210:118da85cb3ce | 211:837cd09fcf01 |
|---|---|
| 261 | 261 |
| 262 function jingle_mt:handle_accepted(jingle_tag) | 262 function jingle_mt:handle_accepted(jingle_tag) |
| 263 local transport_tag = jingle_tag:child_with_name("transport"); | 263 local transport_tag = jingle_tag:child_with_name("transport"); |
| 264 self.transport:handle_accepted(transport_tag); | 264 self.transport:handle_accepted(transport_tag); |
| 265 self.transport:connect(function (conn) | 265 self.transport:connect(function (conn) |
| 266 print("CONNECTED (initiator)!") | 266 self.stream:debug("CONNECTED (initiator)!") |
| 267 -- Connected, send file | 267 -- Connected, send file |
| 268 self.state = "active"; | 268 self.state = "active"; |
| 269 self:event("connected", conn); | 269 self:event("connected", conn); |
| 270 end); | 270 end); |
| 271 end | 271 end |