diff --git a/changelog.html b/changelog.html index bd352fc4..8c528bb6 100644 --- a/changelog.html +++ b/changelog.html @@ -44,8 +44,10 @@

Just married Plugin Changelog

-

1.2.5 -- (TBD)

+

1.3.0 -- (TBD)

1.2.4 -- November 11, 2020

diff --git a/plugin.xml b/plugin.xml index 37cf8104..8a0c431e 100644 --- a/plugin.xml +++ b/plugin.xml @@ -5,8 +5,8 @@ Allows admins to rename or copy users Holger Bergunde ${project.version} - 2020-11-11 - 4.0.0 + 2024-11-20 + 4.6.0 diff --git a/pom.xml b/pom.xml index 267e9c1a..1321657b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ plugins org.igniterealtime.openfire - 4.3.0-beta + 4.6.0 org.igniterealtime.openfire.plugins justmarried - 1.2.5-SNAPSHOT + 1.3.0-SNAPSHOT JustMarried Plugin Allows admins to rename or copy users diff --git a/src/java/org/jivesoftware/openfire/plugin/married/JustMarriedPlugin.java b/src/java/org/jivesoftware/openfire/plugin/married/JustMarriedPlugin.java index 1fbdf847..d9b1e1b8 100644 --- a/src/java/org/jivesoftware/openfire/plugin/married/JustMarriedPlugin.java +++ b/src/java/org/jivesoftware/openfire/plugin/married/JustMarriedPlugin.java @@ -147,7 +147,7 @@ private static void addNewUserToOthersRoster(User newUser, RosterItem otherItem, // Is this user registered with our OF server? String username = otherItem.getJid().getNode(); - if (username != null && username.length() > 0 && userManager.isRegisteredUser(username) + if (username != null && username.length() > 0 && userManager.isRegisteredUser(otherItem.getJid(), false) && XMPPServer.getInstance().isLocal(XMPPServer.getInstance().createJID(currentUser, null))) { try { User otherUser = userManager.getUser(username);