aboutsummaryrefslogtreecommitdiffstats
path: root/util/format.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
commit126834ffca7f96ac14010b589af648e978fc1fd7 (patch)
treec3fd9da76632bd87c05f67fe25370a3bd58d7595 /util/format.lua
parenta27006ab2af6ad8935ccb9fcd33cb3493254ff8e (diff)
downloadprosody-126834ffca7f96ac14010b589af648e978fc1fd7.tar.gz
prosody-126834ffca7f96ac14010b589af648e978fc1fd7.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 'util/format.lua')
0 files changed, 0 insertions, 0 deletions