mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-01 04:46:23 +00:00
Drain message queue on typing indicator click
This commit is contained in:
@ -59,4 +59,10 @@ export class MessagesComponent implements OnInit {
|
||||
convertMarkdownToHTML(text: string) {
|
||||
return this.markdownService.convertToHtml(text);
|
||||
}
|
||||
|
||||
drainMessageQueue() {
|
||||
this.websocketService.send({
|
||||
'key': 'message.queue.drain'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user