# HG changeset patch # User Kim Alvefur # Date 1529440079 -7200 # Node ID cabe58ae17c9c1e2930d0ab347a753df216f1d9e # Parent f4e86d2662ecac5b8aea6171a02790e13f79960c mod_minimix: Set full JID when dumping cached stanzas diff -r f4e86d2662ec -r cabe58ae17c9 mod_minimix/mod_minimix.lua --- a/mod_minimix/mod_minimix.lua Tue Jun 19 22:00:17 2018 +0200 +++ b/mod_minimix/mod_minimix.lua Tue Jun 19 22:27:59 2018 +0200 @@ -35,7 +35,9 @@ if presences then -- Joined but no presence? Weird for _, pres in pairs(presences) do - origin.send(st.clone(pres)); + pres = st.clone(pres); + pres.attr.to = origin.full_jid; + origin.send(pres); end end -- FIXME should send ones own presence last