equal
deleted
inserted
replaced
1132 local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user"}) |
1132 local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user"}) |
1133 :tag("item", {affiliation=affiliation or "none", role=role or "none"}) |
1133 :tag("item", {affiliation=affiliation or "none", role=role or "none"}) |
1134 :tag("reason"):text(reason or ""):up() |
1134 :tag("reason"):text(reason or ""):up() |
1135 :up(); |
1135 :up(); |
1136 local self_x = st.clone(x); |
1136 local self_x = st.clone(x); |
1137 self_x:tag("status", {code="110"}); |
1137 self_x:tag("status", {code="110"}):up(); |
1138 local presence_type = nil; |
1138 local presence_type = nil; |
1139 if not role then -- getting kicked |
1139 if not role then -- getting kicked |
1140 presence_type = "unavailable"; |
1140 presence_type = "unavailable"; |
1141 if affiliation == "outcast" then |
1141 if affiliation == "outcast" then |
1142 -- banned |
1142 -- banned |