AbstractComponent local entity discovery

Description

I am building my own openfire plugin and I found a bug in org.xmpp.component.AbstractComponent.sentByLocalEntity.

The condition domain.endsWith("." + getDomain()) should actually be getDomain().endsWith("." + domain).

If in org.xmpp.component you set method servesLocalUsersOnly to return true, you will get a not-authorized error for local users.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Guus der Kinderen

Reporter

George Mournos