diff --git a/src/components/views/rooms/BasicMessageComposer.tsx b/src/components/views/rooms/BasicMessageComposer.tsx index f7621a6798..d703d62aa0 100644 --- a/src/components/views/rooms/BasicMessageComposer.tsx +++ b/src/components/views/rooms/BasicMessageComposer.tsx @@ -95,6 +95,7 @@ function selectionEquals(a: Partial, b: Selection): boolean { interface IProps { model: EditorModel; room: Room; + threadId: string; placeholder?: string; label?: string; initialCaret?: DocumentOffset; @@ -243,7 +244,11 @@ export default class BasicMessageEditor extends React.Component isTyping = false; } } - TypingStore.sharedInstance().setSelfTyping(this.props.room.roomId, isTyping); + TypingStore.sharedInstance().setSelfTyping( + this.props.room.roomId, + this.props.threadId, + isTyping, + ); if (this.props.onChange) { this.props.onChange(); diff --git a/src/components/views/rooms/EditMessageComposer.tsx b/src/components/views/rooms/EditMessageComposer.tsx index 03851138f0..51df3fbebb 100644 --- a/src/components/views/rooms/EditMessageComposer.tsx +++ b/src/components/views/rooms/EditMessageComposer.tsx @@ -535,6 +535,7 @@ class EditMessageComposer extends React.Component { - this.setSelfTyping(roomId, false); + this.setSelfTyping(roomId, threadId, false); }); } else currentTyping.userTimer.restart(); }