From 8b39ff83130224fc4430723c73ac149b7afe17c8 Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Thu, 17 Jun 2021 11:52:15 -0700 Subject: [PATCH] don't shortcut parent dispatchEventActivity() --- libraries/botbuilder/src/teamsActivityHandler.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/botbuilder/src/teamsActivityHandler.ts b/libraries/botbuilder/src/teamsActivityHandler.ts index c17f980cd0..fed1a006f0 100644 --- a/libraries/botbuilder/src/teamsActivityHandler.ts +++ b/libraries/botbuilder/src/teamsActivityHandler.ts @@ -944,9 +944,11 @@ export class TeamsActivityHandler extends ActivityHandler { if (context.activity.channelId == Channels.Msteams) { switch (context.activity.name) { case 'application/vnd.microsoft.meetingStart': - return this.onTeamsMeetingStart(context); + await this.onTeamsMeetingStart(context); + break; case 'application/vnd.microsoft.meetingEnd': - return this.onTeamsMeetingEnd(context); + await this.onTeamsMeetingEnd(context); + break; } }