mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
groupChatReceived webhook fix (#10802)
* Moved sendGroupChatReceivedWebhooks to group.sendChat function. * Added test for new functionality.
This commit is contained in:
committed by
Matteo Pagliazzi
parent
9a3cdb5deb
commit
ff81e55839
@@ -190,8 +190,6 @@ api.postChat = {
|
||||
} else {
|
||||
res.respond(200, {message: newChatMessage});
|
||||
}
|
||||
|
||||
group.sendGroupChatReceivedWebhooks(newChatMessage);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user