I recently did an upgrade to Openfire server from 4.0.3 to 4.1.1 and noticed an issue with MUC. Whenever I do a disco on a chat room it goes ahead and creates the room if it doesn’t exist. I tested this using Smack (4.1) Api MultiUserChatManager.getRoomInfo(roomName) and also with the Rest API (1.2.4) GET http://example.org:9090/plugins/restapi/v1/chatrooms/ and noticed that both end up creating the chatroom with default configurations. What I expect is the server to return “not found” if the chat room does not exist.
This does not happen on Openfire 4.0.3 version, and I was wondering if anyone else noticed issues similar to this on 4.1.1.
This is the sent stanza:
The return stanza is is the configuration for the chatroom that was just created.