From aaaa59c56d279d345f1435960fad8c15b181295d Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Mon, 3 May 2021 10:42:35 -0700 Subject: [PATCH] prioritizeUserId --- packages/botbuilder-adapter-slack/src/slack_adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/botbuilder-adapter-slack/src/slack_adapter.ts b/packages/botbuilder-adapter-slack/src/slack_adapter.ts index 5dc61148b..f1fa494b6 100644 --- a/packages/botbuilder-adapter-slack/src/slack_adapter.ts +++ b/packages/botbuilder-adapter-slack/src/slack_adapter.ts @@ -540,7 +540,7 @@ export class SlackAdapter extends BotAdapter { thread_ts: event.thread_ts, team: event.team.id }, - from: { id: event.bot_id ? event.bot_id : event.user.id }, + from: { id: event.user.id ?? event.bot_id }, recipient: { id: null }, channelData: event, type: ActivityTypes.Event,