Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit fdcb731

Browse files
authored
Merge pull request #136 from microsoft/v-kydela/updateActivity
Fix assertion in TurnContextImpl.updateActivity
2 parents c0060f6 + 7657eae commit fdcb731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/bot-builder/src/main/java/com/microsoft/bot/builder/TurnContextImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ private CompletableFuture<ResourceResponse[]> sendActivitiesThroughCallbackPipel
361361
*/
362362
@Override
363363
public CompletableFuture<ResourceResponse> updateActivity(Activity withActivity) {
364-
BotAssert.activityNotNull(activity);
364+
BotAssert.activityNotNull(withActivity);
365365

366366
ConversationReference conversationReference = activity.getConversationReference();
367367
withActivity.applyConversationReference(conversationReference);

0 commit comments

Comments
 (0)