Software / code / prosody
Diff
plugins/mod_invites_register.lua @ 12415:01ba67e7f824
Merge 0.12->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 19 Mar 2022 09:28:59 +0000 |
| parent | 12391:a15647d42880 |
| child | 12977:74b9e05af71e |
line wrap: on
line diff
--- a/plugins/mod_invites_register.lua Fri Mar 18 20:14:20 2022 +0000 +++ b/plugins/mod_invites_register.lua Sat Mar 19 09:28:59 2022 +0000 @@ -141,6 +141,7 @@ 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