mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
feat: allowing the flagging of system messages
closes #7767 closes #7771
This commit is contained in:
@@ -217,7 +217,7 @@ api.flagChat = {
|
||||
|
||||
let reporterEmailContent = getUserInfo(user, ['email']).email;
|
||||
|
||||
let authorEmailContent = getUserInfo(author, ['email']).email;
|
||||
let authorEmailContent = author ? getUserInfo(author, ['email']).email : 'system';
|
||||
|
||||
let groupUrl = getGroupUrl(group);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user