Skip to content

Commit 7e67886

Browse files
author
Bill Barnes
committed
Use value passed in
1 parent b54dffb commit 7e67886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class Chat extends React.Component<ChatProps, {}> {
5454
this.store.dispatch<FormatAction>({ type: 'Set_Format_Options', options: props.formatOptions });
5555

5656
if (props.sendTyping)
57-
this.store.dispatch<ShellAction>({ type: 'Set_Send_Typing', sendTyping: true });
57+
this.store.dispatch<ShellAction>({ type: 'Set_Send_Typing', sendTyping: props.sendTyping });
5858
}
5959

6060
private handleIncomingActivity(activity: Activity) {

0 commit comments

Comments
 (0)