2 Replies Latest reply on Jan 23, 2017 5:37 PM by Jake

    GetRoomInfo() for MUC is actually creating the room

    Jake

      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/<roomName> 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): <iq to='testgroup@conference.<hostName>' id='Y8Yhc-135' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>

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