Disabling presence broadcast will cause MUC join failure

Description

I've first identified this problem in Openfire 4.5.1. It appears to persist in version 4.6.4.

When a MUC room is configured to not broadcast presence for any role, then the response to a join presence does not arrive at the client:


You'd expect a presence with a status code of 110. Instead, you're getting an 'ordinary' presence stanza.

The problem does not exist when the room is configured to broadcast presence for all roles.

Environment

None

Attachments

1

Activity

Show:

Guus der Kinderen July 10, 2021 at 6:40 PM

The problem seems to originate in LocalMucRoom's broadcastPresence method, with this snippet:

This seems to send the stanza “as-is”, instead of adding various bits of additional data, like what happens in the BroadcastPresenceRequest runnable that’s executed next.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created July 10, 2021 at 6:27 PM
Updated July 21, 2021 at 10:18 AM
Resolved July 21, 2021 at 10:18 AM