diff options
-rw-r--r-- | plugins/mod_invites_register.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_invites_register.lua b/plugins/mod_invites_register.lua index 9a5570ab..d1d801ad 100644 --- a/plugins/mod_invites_register.lua +++ b/plugins/mod_invites_register.lua @@ -141,6 +141,7 @@ module:hook("user-registered", function (event) if inviter_username then module:log("debug", "Creating mutual subscription between %s and %s", inviter_username, contact_username); subscribe_both(module.host, inviter_username, contact_username); + rostermanager.roster_push(inviter_username, module.host, contact_username.."@"..module.host); end if validated_invite.additional_data then |