Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

Re: Can't get room information (dataform) for MUC room

$
0
0

I've debugged the code. The problem is in MultiUserChatServiceImpl:

 

    private boolean canDiscoverRoom(MUCRoom room) {

        // Check if locked rooms may be discovered

        if (!allowToDiscoverLockedRooms && room.isLocked()) {

            return false;

        }

        return room.isPublicRoom();

    }

 

Can I change the last line to "return true" ??

 

XEP-0045 doesn't mention anything about, that room discovery is only restricted to public rooms.

It even says:

The room MUST return its identity and SHOULD return the features it supports

 

There are also two bugs about it: OF-743 and OF-435.


Viewing all articles
Browse latest Browse all 11413

Trending Articles