From 248c74050c83203f2da03495ed6131f2fe40a117 Mon Sep 17 00:00:00 2001 From: Sujay B Date: Thu, 10 Sep 2020 09:52:10 +0530 Subject: [PATCH] Fixed conversation update activity handler failing with infinite loop #47 --- core/activity/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/activity/handler.go b/core/activity/handler.go index 555535b..897562e 100644 --- a/core/activity/handler.go +++ b/core/activity/handler.go @@ -53,7 +53,7 @@ func (r HandlerFuncs) OnMessage(turn *TurnContext) (schema.Activity, error) { // OnConversationUpdate handles a 'conversationUpdate' event from connector service. func (r HandlerFuncs) OnConversationUpdate(turn *TurnContext) (schema.Activity, error) { if r.OnConversationUpdateFunc != nil { - return r.OnConversationUpdate(turn) + return r.OnConversationUpdateFunc(turn) } return schema.Activity{}, errors.New("No handler found for this activity type") }