aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-09 00:28:10 +0200
committerKim Alvefur <zash@zash.se>2020-05-09 00:28:10 +0200
commit71d6bde69ce86526dda8b0ee7c14b3418c415a7f (patch)
treec3fd9da76632bd87c05f67fe25370a3bd58d7595 /plugins/mod_muc_mam.lua
parent6b456feb2939af36b454f8b53b0bda32f3aa7613 (diff)
downloadprosody-71d6bde69ce86526dda8b0ee7c14b3418c415a7f.tar.gz
prosody-71d6bde69ce86526dda8b0ee7c14b3418c415a7f.zip
mod_presence: Send unavailable presence in current thread run
`session:dispatch_stanza(pres)` enqueues processing of the stanza in the sessions async thread, but becasue the entire stream close handling is now in that thread it would process the presence after the stream and session was completely closed, leading to weird errors "sent to a resting session". We call core_process_stanza() since this is what :dispatch_stanza calls in the end.
Diffstat (limited to 'plugins/mod_muc_mam.lua')
0 files changed, 0 insertions, 0 deletions