Kim Alvefur <zash@zash.se> [Fri, 24 Sep 2021 20:12:16 +0200] rev 11825
core.moduleapi: Filter out unrelated direct replies to module:send_iq
This is primarily something that happens with an internal query to
mod_mam, which calls origin.send() several times with results, leading
to the first such result being treated as the final response and
resolving the promise.
Now, these responses pass trough to the underlying origin.send(), where
they can be caught. Tricky but not impossible. For remote queries, it's
even trickier, you would likely need to bind a resource or similar.
Kim Alvefur <zash@zash.se> [Fri, 24 Sep 2021 18:39:28 +0200] rev 11824
mod_http_errors: Make it easier to override 'http-message' handler
Per the unspoken internal standard of -1 as priority for most built-in
event handlers, since this makes it easy for 3rd party plugins to
override behavior by hooking at the default priority of 0.
Kim Alvefur <zash@zash.se> [Thu, 23 Sep 2021 17:55:49 +0200] rev 11823
mod_mam: Merge main and RSM-specific log message here too
Kim Alvefur <zash@zash.se> [Thu, 23 Sep 2021 17:50:33 +0200] rev 11822
mod_muc_mam: Fix reference to "user" in debug message copied from mod_mam
Kim Alvefur <zash@zash.se> [Thu, 23 Sep 2021 15:53:39 +0200] rev 11821
mod_muc_mam: Merge main and RSM-specific log message into a single one
Kim Alvefur <zash@zash.se> [Thu, 23 Sep 2021 15:25:51 +0200] rev 11820
mod_muc_mam: Fix copypaste mistake in debug logging
This line was copied from mod_mam, where `origin.username` made sense,
less so here.
Matthew Wild <mwild1@gmail.com> [Wed, 22 Sep 2021 13:31:13 +0100] rev 11819
mod_message: Fire event for groupchat messages sent to bare JID
This is becoming more common in XMPP as people experiment with a MIX-like
model where the bare JID joins a group chat instead of a full JID.
Specifically right now this is being added to help with processing
notifications from mod_muc_offline_delivery.
Kim Alvefur <zash@zash.se> [Wed, 22 Sep 2021 13:29:47 +0200] rev 11818
net.server_epoll: Separate handling of "closed" from other errors
The intent is to ensure 'ondisconnect' only gets called once, while
giving buffered outgoing data a last chance to be delivered via the
:close() path in case the connection was only shutdown in one direction.
Kim Alvefur <zash@zash.se> [Wed, 22 Sep 2021 11:27:55 +0200] rev 11817
net.server_epoll: Skip attempt to flush write buffer when not connected
Before 22825cb5dcd8 connection attempts that failed (e.g. connection
refused) would be immediately destroyed. After, it would schedule
another write cycle and then report 'ondisconnect' again when failing.
Thanks Martin for reporting
Kim Alvefur <zash@zash.se> [Mon, 20 Sep 2021 15:51:43 +0200] rev 11816
Merge 0.11->trunk