Commit bff8396b authored by Dave Cridland's avatar Dave Cridland

Merge pull request #538 from dchinmay/dev

Set affiliation to 'none' after removing registration from room.
parents 4a8af392 291af23c
......@@ -1831,7 +1831,7 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener {
}
else {
newRole = isModerated() ? MUCRole.Role.visitor : MUCRole.Role.participant;
newAffiliation = MUCRole.Affiliation.member;
newAffiliation = MUCRole.Affiliation.none;
}
Log.info("New affiliation: " + newAffiliation);
try {
......
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