mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Missing message (user claim task)
This commit is contained in:
@@ -199,7 +199,11 @@ api.assignTask = {
|
||||
// User is claiming the task
|
||||
if (user._id === assignedUserId) {
|
||||
let message = res.t('userIsClamingTask', {username: user.profile.name, task: task.text});
|
||||
group.sendChat(message);
|
||||
group.sendChat(message, null, null, {
|
||||
type: 'claim_task',
|
||||
user: user.profile.name,
|
||||
task: task.text,
|
||||
});
|
||||
}
|
||||
|
||||
let promises = [];
|
||||
|
||||
Reference in New Issue
Block a user