GetRoomInfo() for MUC is actually creating the room

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:

SENT (0):

The return stanza is is the configuration for the chatroom that was just created.

Filed as OF-1279 IQ query on non-existing MUC room creates the room - IgniteRealtime JIRA

1 Like

Update: After doing a clean install (server and db) I did not have this problem anymore. I hope I don’t have to do a clean install for production… because that would be a hassle.