diff --git a/src/components/chat/chat-message.ts b/src/components/chat/chat-message.ts index b723f689e..6143ec4e9 100644 --- a/src/components/chat/chat-message.ts +++ b/src/components/chat/chat-message.ts @@ -175,7 +175,7 @@ export default class IgcChatMessageComponent extends LitElement { const isSent = this.message.sender === this._state.currentUserId; const hasText = this.message.text.trim(); const hasAttachments = !isEmpty(this.message.attachments ?? []); - const isTyping = this._state._isTyping; + const isTyping = this._state.options?.isTyping; const isLastMessage = this.message === this._state.messages.at(-1); const resourceStrings = this._state.resourceStrings!; diff --git a/src/components/chat/chat-state.ts b/src/components/chat/chat-state.ts index 4bf109bba..f91e62ed4 100644 --- a/src/components/chat/chat-state.ts +++ b/src/components/chat/chat-state.ts @@ -46,7 +46,7 @@ export class ChatState { */ private _acceptedTypesCache: ChatAcceptedFileTypes | null = null; - public _isTyping = false; + private _isTyping = false; private _lastTyped = Date.now(); public resourceStrings = IgcChatResourceStringEN;