Software /
code /
prosody
Changeset
13850:0326e1338d73
Merge 13.0->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 16 Apr 2025 12:03:08 +0100 |
parents | 13848:45c508a12865 (current diff) 13849:068e77bf91b9 (diff) |
children | 13853:5611ce3bc54c |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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