Commit 0c28ef88 authored by Christian Schudt's avatar Christian Schudt

OF-791 Joining new MUC room results in a 404 error

parent 69e961d8
......@@ -650,7 +650,7 @@ public class LocalMUCRoom implements MUCRoom {
}
// If the room has just been created send the "room locked until configuration is
// confirmed" message
if (isLocked()) {
if (!isRoomNew && isLocked()) {
// http://xmpp.org/extensions/xep-0045.html#enter-locked
Presence presenceItemNotFound = new Presence(Presence.Type.error);
presenceItemNotFound.setError(PacketError.Condition.item_not_found);
......
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