comparison mod_smacks/mod_smacks.lua @ 1705:6fa220a9f36d

mod_smacks: Move set of filters from new session to session being resumed
author Kim Alvefur <zash@zash.se>
date Wed, 06 May 2015 01:01:18 +0200
parents 97291a4b17bd
children e4867211cddb
comparison
equal deleted inserted replaced
1704:97291a4b17bd 1705:6fa220a9f36d
326 end 326 end
327 original_session.ip = session.ip; 327 original_session.ip = session.ip;
328 original_session.conn = session.conn; 328 original_session.conn = session.conn;
329 original_session.send = session.send; 329 original_session.send = session.send;
330 original_session.filter = session.filter; 330 original_session.filter = session.filter;
331 original_session.filters = session.filters;
331 original_session.stream = session.stream; 332 original_session.stream = session.stream;
332 original_session.secure = session.secure; 333 original_session.secure = session.secure;
333 original_session.hibernating = nil; 334 original_session.hibernating = nil;
334 wrap_session(original_session, true); 335 wrap_session(original_session, true);
335 -- Inform xmppstream of the new session (passed to its callbacks) 336 -- Inform xmppstream of the new session (passed to its callbacks)