Commit a2f4d8c7 authored by Ben Markwardt's avatar Ben Markwardt Committed by Guus der Kinderen

Openfire sends presence updates of affiliation "none" instead of "outcast" when banning.

Based on the MUC spec it should be sending "outcast" on banning.

Looks like this was introduced in commit 822abb01
parent ef1de363
......@@ -1815,7 +1815,7 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener {
}
// outcast trumps member when an affiliation is changed
else if (outcasts.includes(occupantJID)) {
newAffiliation = MUCRole.Affiliation.none;
newAffiliation = MUCRole.Affiliation.outcast;
newRole = MUCRole.Role.none;
kickMember = true;
isOutcast = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment