# HG changeset patch # User Kim Alvefur # Date 1647377991 -3600 # Node ID 4aecf78cc39d2a53f1503f4ccb6041b26622f13a # Parent f07c9a6f19b3fc4b1e0f39e2d63c4990300c81d8 mod_invites_register: Push invitee contact entry to inviter (Thanks gerald) Invitee would not show up in the roster of the invite creator unless they fetch their roster afterwards. Fixes #1715 diff -r f07c9a6f19b3 -r 4aecf78cc39d mod_invites_register/mod_invites_register.lua --- a/mod_invites_register/mod_invites_register.lua Tue Mar 08 11:57:25 2022 +0000 +++ b/mod_invites_register/mod_invites_register.lua Tue Mar 15 21:59:51 2022 +0100 @@ -137,6 +137,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