Players able to flag their own messages - Fixes #8005 (#8006)

* 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:
cincospenguinos
2016-09-13 11:23:11 -06:00
committed by Blade Barringer
parent bbe4759691
commit f5f8f8c246
4 changed files with 3 additions and 11 deletions

View File

@@ -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