diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/friendInvites.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/friendInvites.ts b/src/plugins/friendInvites.ts index 970994a..fc59efa 100644 --- a/src/plugins/friendInvites.ts +++ b/src/plugins/friendInvites.ts @@ -47,12 +47,16 @@ export default definePlugin({ body: { modified_contacts: { [random]: [1, "", ""] - } + }, + phone_contact_methods_count: 1 } }).then(res => FriendInvites.createFriendInvite({ code: res.body.invite_suggestions[0][3], - recipient_phone_number_or_email: random + recipient_phone_number_or_email: random, + contact_visibility: 1, + filter_visibilities: [], + filtered_invite_suggestions_index: 1 }) ); |