diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-09 00:28:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-09 00:28:10 +0200 |
commit | 71d6bde69ce86526dda8b0ee7c14b3418c415a7f (patch) | |
tree | c3fd9da76632bd87c05f67fe25370a3bd58d7595 /spec/util_encodings_spec.lua | |
parent | 6b456feb2939af36b454f8b53b0bda32f3aa7613 (diff) | |
download | prosody-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 'spec/util_encodings_spec.lua')
0 files changed, 0 insertions, 0 deletions