Fix issue with thread notification state ignoring initial events (#8417)
This commit is contained in:
parent
565488a10a
commit
fddbc429a9
2 changed files with 5 additions and 3 deletions
|
@ -31,6 +31,10 @@ export class ThreadNotificationState extends NotificationState implements IDestr
|
|||
super();
|
||||
this.thread.on(ThreadEvent.NewReply, this.handleNewThreadReply);
|
||||
this.thread.on(ThreadEvent.ViewThread, this.resetThreadNotification);
|
||||
if (this.thread.replyToEvent) {
|
||||
// Process the current tip event
|
||||
this.handleNewThreadReply(this.thread, this.thread.replyToEvent);
|
||||
}
|
||||
}
|
||||
|
||||
public destroy(): void {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue