[Bug] do not get status code 110 in self-presence after joining a more that one user MUC room?

Hi,

It seems that users do not get status code 110 in their self-presence after joining a MUC room WHICH HAS MORE THAN ONE USER?

My patch is in

org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcast(BroadcastMessageRequest messageRequest)

change:

} else {
occupant.send(presence);
}

as

} else {
occupant.send(presence.createCopy());
}

That’s it.

Charles

Thanks for reporting. Created OF-860 to track the issue. I will apply your patch soon.

Would you review and/or test this:

OF-860: Self-presence is not broadcast if room has more than one occupan… · 11c7a1f · sco0ter/Openfire · GitHub

I slightly changed your proposal, because I think creating a copy is more expensive.

What do you think?

ok, that’s better!