Skip to content

Commit 527a373

Browse files
authored
fix: prevent muting messages with completed status (#1557)
1 parent 2a51dc6 commit 527a373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chat-client/src/client/mynahUi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ export const createMynahUi = (
932932
const contentHorizontalAlignment: ChatItem['contentHorizontalAlignment'] = undefined
933933

934934
// If message.header?.status?.text is Stopped or Rejected or Ignored or Completed etc.. card should be in disabled state.
935-
const shouldMute = message.header?.status?.text !== undefined
935+
const shouldMute = message.header?.status?.text !== undefined && message.header?.status?.text !== 'Completed'
936936

937937
return {
938938
body: message.body,

0 commit comments

Comments
 (0)