From 9ba4322e4d6322bb1410dc9b9ccd0204bcab065a Mon Sep 17 00:00:00 2001 From: Ritesh Bhoi Date: Mon, 11 Sep 2017 15:13:32 -0700 Subject: [PATCH] magic number copy paste issue for ms teams magic number copy paste issue for ms teams --- AuthBot/Controllers/OAuthCallbackController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AuthBot/Controllers/OAuthCallbackController.cs b/AuthBot/Controllers/OAuthCallbackController.cs index 2aef868..5eef744 100644 --- a/AuthBot/Controllers/OAuthCallbackController.cs +++ b/AuthBot/Controllers/OAuthCallbackController.cs @@ -123,7 +123,7 @@ public async Task OAuthCallback( else { await Conversation.ResumeAsync(resumptionCookie, message); - if (message.ChannelId == "skypeforbusiness") + if (message.ChannelId == "skypeforbusiness" || message.ChannelId == "msteams") resp.Content = new StringContent($"Almost done! Please copy this number and paste it back to your chat so your authentication can complete:
{magicNumber} ", System.Text.Encoding.UTF8, @"text/html"); else resp.Content = new StringContent($"Almost done! Please copy this number and paste it back to your chat so your authentication can complete:

{magicNumber}

.", System.Text.Encoding.UTF8, @"text/html");