Software /
code /
prosody
Comparison
plugins/mod_smacks.lua @ 12042:fe643b3a41f2
mod_smacks: Back out def20683c161
The attempted fix completely broke everything after resumption.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 13 Dec 2021 21:15:06 +0100 |
parent | 12041:def20683c161 |
child | 12043:48f8fa6cea7b |
comparison
equal
deleted
inserted
replaced
12041:def20683c161 | 12042:fe643b3a41f2 |
---|---|
570 end | 570 end |
571 local migrated_session_log = session.log; | 571 local migrated_session_log = session.log; |
572 original_session.ip = session.ip; | 572 original_session.ip = session.ip; |
573 original_session.conn = session.conn; | 573 original_session.conn = session.conn; |
574 original_session.send = session.send; | 574 original_session.send = session.send; |
575 original_session.send.session = original_session; | |
576 original_session.close = session.close; | 575 original_session.close = session.close; |
577 original_session.filter = session.filter; | 576 original_session.filter = session.filter; |
578 original_session.filter.session = original_session; | 577 original_session.filter.session = original_session; |
579 original_session.filters = session.filters; | 578 original_session.filters = session.filters; |
580 original_session.stream = session.stream; | 579 original_session.stream = session.stream; |