equal
deleted
inserted
replaced
454 context.sid = sid; |
454 context.sid = sid; |
455 session.bosh_processing = true; -- Used to suppress replies until processing of this request is done |
455 session.bosh_processing = true; -- Used to suppress replies until processing of this request is done |
456 |
456 |
457 if session.notopen then |
457 if session.notopen then |
458 local features = st.stanza("stream:features"); |
458 local features = st.stanza("stream:features"); |
459 module:context(session.host):fire_event("stream-features", { origin = session, features = features }); |
459 module:context(session.host):fire_event("stream-features", { origin = session, features = features, stream = attr }); |
460 session.send(features); |
460 session.send(features); |
461 session.notopen = nil; |
461 session.notopen = nil; |
462 end |
462 end |
463 end |
463 end |
464 |
464 |