mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
* Players able to flag their own messages * Modify test case to match the new behavior * Remove a comment and a locales message
This commit is contained in:
committed by
Blade Barringer
parent
bbe4759691
commit
f5f8f8c246
@@ -222,8 +222,6 @@ api.flagChat = {
|
||||
|
||||
if (!message) throw new NotFound(res.t('messageGroupChatNotFound'));
|
||||
|
||||
if (message.uuid === user._id) throw new NotFound(res.t('messageGroupChatFlagOwnMessage'));
|
||||
|
||||
let update = {$set: {}};
|
||||
|
||||
// Log user ids that have flagged the message
|
||||
|
||||
Reference in New Issue
Block a user