Fix FriendInvites (#874)
This commit is contained in:
parent
358eb6ad8e
commit
edc96387f5
1 changed files with 6 additions and 2 deletions
|
@ -47,12 +47,16 @@ export default definePlugin({
|
||||||
body: {
|
body: {
|
||||||
modified_contacts: {
|
modified_contacts: {
|
||||||
[random]: [1, "", ""]
|
[random]: [1, "", ""]
|
||||||
}
|
},
|
||||||
|
phone_contact_methods_count: 1
|
||||||
}
|
}
|
||||||
}).then(res =>
|
}).then(res =>
|
||||||
FriendInvites.createFriendInvite({
|
FriendInvites.createFriendInvite({
|
||||||
code: res.body.invite_suggestions[0][3],
|
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
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue