# HG changeset patch # User Matthew Wild # Date 1744801388 -3600 # Node ID 0326e1338d7375f907e0d3d30d1b06225e1363c6 # Parent 45c508a1286557b73211f947eba010ea37925330# Parent 068e77bf91b9c8347cf22fbe6c693dc8638a8535 Merge 13.0->trunk diff -r 45c508a12865 -r 0326e1338d73 plugins/mod_invites_register.lua --- a/plugins/mod_invites_register.lua Mon Apr 14 15:51:05 2025 +0200 +++ b/plugins/mod_invites_register.lua Wed Apr 16 12:03:08 2025 +0100 @@ -103,7 +103,7 @@ end if validated_invite then local username = validated_invite.username; - if username and username ~= event.username then + if validated_invite.type ~= "roster" and username and username ~= event.username then event.allowed = false; event.reason = "The chosen username is not valid with this invitation"; end