# HG changeset patch
# User Jonas Wielicki <jo...@wielicki.name>
# Date 1526569902 -7200
#      Thu May 17 17:11:42 2018 +0200
# Node ID 954594126a32ab006f75ca4e5ebbb6a2be96e4c5
# Parent  8f67316ef89824a53e1e9a527af798262b051e8a
MUC: correctly emit <status/> tags

diff -r 8f67316ef898 -r 954594126a32 plugins/muc/muc.lib.lua
--- a/plugins/muc/muc.lib.lua   Thu May 17 17:11:25 2018 +0200
+++ b/plugins/muc/muc.lib.lua   Thu May 17 17:11:42 2018 +0200
@@ -1134,7 +1134,7 @@
                                        :tag("reason"):text(reason or ""):up()
                                :up();
                local self_x = st.clone(x);
-               self_x:tag("status", {code="110"});
+               self_x:tag("status", {code="110"}):up();
                local presence_type = nil;
                if not role then -- getting kicked
                        presence_type = "unavailable";

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to