Skip to content

Commit

Permalink
Fixed conversation update activity handler failing with infinite loop #…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbawaskar authored and PrasadG193 committed Sep 10, 2020
1 parent 3cb6d81 commit 248c740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/activity/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

1 comment on commit 248c740

@sbawaskar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PrasadG193 , this is a blocker, can you please perform a minor release.

Please sign in to comment.