mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Send questInvited webhook to the inviter too (#13111)
This commit is contained in:
@@ -149,6 +149,13 @@ api.inviteToQuest = {
|
||||
{ name: 'PARTY_URL', content: '/party' },
|
||||
]);
|
||||
|
||||
// Send webhook to the inviter too
|
||||
questActivityWebhook.send(user, {
|
||||
type: 'questInvited',
|
||||
group,
|
||||
quest,
|
||||
});
|
||||
|
||||
// track that the inviting user has accepted the quest
|
||||
analytics.track('quest', {
|
||||
category: 'behavior',
|
||||
|
||||
Reference in New Issue
Block a user