pass userId for admin-calls

This commit is contained in:
negue
2018-06-11 22:39:07 +02:00
parent 09e4c88606
commit 5b6217a0bf
3 changed files with 16 additions and 11 deletions

View File

@@ -133,7 +133,7 @@ function sendInboxFlagNotification ({
title,
title_link: titleLink,
text: messageText,
footer: `<${SLACK_FLAGGING_FOOTER_LINK}?groupId=privateMessages&chatId=${message.id}|Flag this message>`,
footer: `<${SLACK_FLAGGING_FOOTER_LINK}?userId=${flagger.id}&chatMessageId=${message.id}|Flag this message>`,
mrkdwn_in: [
'text',
],