Skip to content

Commit

Permalink
Adding the "after" version (v2) of web-chat.component.ts
Browse files Browse the repository at this point in the history
Adding the final version of the service (for the tutorial) to illustrate how it should look after the reader has made all the required changes.
  • Loading branch information
merlin-quix committed Oct 6, 2023
1 parent 8fba3f0 commit 08581bd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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();
Expand Down

0 comments on commit 08581bd

Please sign in to comment.