File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1559,7 +1559,7 @@ export class MatrixEvent extends EventEmitter {
15591559 public setThread ( thread : Thread ) : void {
15601560 this . thread = thread ;
15611561 this . setThreadId ( thread . id ) ;
1562- this . reEmitter . reEmit ( thread , [ ThreadEvent . Ready , ThreadEvent . Update ] ) ;
1562+ this . reEmitter . reEmit ( thread , [ ThreadEvent . Update ] ) ;
15631563 }
15641564
15651565 /**
Original file line number Diff line number Diff line change @@ -1413,7 +1413,6 @@ export class Room extends EventEmitter {
14131413 this . threads . set ( thread . id , thread ) ;
14141414 this . reEmitter . reEmit ( thread , [
14151415 ThreadEvent . Update ,
1416- ThreadEvent . Ready ,
14171416 "Room.timeline" ,
14181417 "Room.timelineReset" ,
14191418 ] ) ;
Original file line number Diff line number Diff line change @@ -27,10 +27,9 @@ import { RoomState } from "./room-state";
2727
2828export enum ThreadEvent {
2929 New = "Thread.new" ,
30- Ready = "Thread.ready" ,
3130 Update = "Thread.update" ,
3231 NewReply = "Thread.newReply" ,
33- ViewThread = "Thred .viewThread" ,
32+ ViewThread = "Thread .viewThread" ,
3433}
3534
3635interface IThreadOpts {
@@ -103,7 +102,7 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
103102 ?. capabilities ?. [ RelationType . Thread ] ?. enabled ;
104103 }
105104
106- onEcho = ( event : MatrixEvent ) => {
105+ private onEcho = ( event : MatrixEvent ) => {
107106 if ( this . timelineSet . eventIdToTimeline ( event . getId ( ) ) ) {
108107 this . emit ( ThreadEvent . Update , this ) ;
109108 }
You can’t perform that action at this time.
0 commit comments