diff --git a/website/server/models/group.js b/website/server/models/group.js index c85252f675..76fcbec1de 100644 --- a/website/server/models/group.js +++ b/website/server/models/group.js @@ -645,7 +645,7 @@ schema.methods.sendChat = function sendChat (options = {}) { identifier: 'chatMention', title: `${user.profile.name} mentioned you in ${this.name}`, message: newChatMessage.unformattedText, - payload: { type: this.type }, + payload: { type: this.type, groupID: this._id }, }); } });