Skip to content

Commit f881517

Browse files
author
=
committed
read channelData instead of entities
1 parent fcc5512 commit f881517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/utils/getActivityLivestreamingMetadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default function getActivityLivestreamingMetadata(activity: WebChatActivi
196196
if (!activityData && activity.channelData) {
197197
const result = safeParse(channelDataStreamingActivitySchema, activity);
198198
activityData = result.success ? result.output : undefined;
199-
streamingData = result.success ? activityData.entities[0] : undefined;
199+
streamingData = result.success ? activityData.channelData : undefined;
200200
}
201201

202202
if (activityData && streamingData) {

0 commit comments

Comments
 (0)