18 stream:event("session-failure", { error = condition, text = text, type = type }); |
18 stream:event("session-failure", { error = condition, text = text, type = type }); |
19 end |
19 end |
20 end); |
20 end); |
21 return true; |
21 return true; |
22 end |
22 end |
23 stream:hook("binding-success", handle_binding); |
23 stream:hook("bind-success", handle_binding); |
24 end |
24 end |
25 end |
25 end |
26 stream:hook("stream-features", handle_features); |
26 stream:hook("stream-features", handle_features); |
27 |
27 |
28 return true; |
28 return true; |