diff --git a/chat-with-sentiment-exercise/Sentiment Demo UI/web-chat.component.ts b/chat-with-sentiment-exercise/Sentiment Demo UI/web-chat.component.ts index e0cdf24..5f88d60 100644 --- a/chat-with-sentiment-exercise/Sentiment Demo UI/web-chat.component.ts +++ b/chat-with-sentiment-exercise/Sentiment Demo UI/web-chat.component.ts @@ -197,7 +197,7 @@ export class WebChatComponent implements OnInit { this.usersTyping.set(name, user); } - if (topicId === this.quixService.messagesTopic || topicId === this.quixService.twitchMessagesTopic) { + if (topicId === this.quixService.messagesSanitizedTopic || topicId === this.quixService.twitchMessagesTopic) { // If the user is in the typing map then remove them if (user) { user?.timeout?.unsubscribe();