File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
107
107
this . _currentUserParticipated = true ;
108
108
}
109
109
110
- if ( this . ready ) {
111
- this . client . decryptEventIfNeeded ( event , { } ) ;
112
- }
113
-
114
110
await this . client . decryptEventIfNeeded ( event , { } ) ;
115
111
this . emit ( ThreadEvent . Update , this ) ;
116
112
}
@@ -131,15 +127,6 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
131
127
return threadReplies [ threadReplies . length - 1 ] ;
132
128
}
133
129
134
- /**
135
- * Determines thread's ready status
136
- */
137
- public get lastReply ( ) : MatrixEvent {
138
- const threadReplies = this . events
139
- . filter ( event => event . isThreadRelation ) ;
140
- return threadReplies [ threadReplies . length - 1 ] ;
141
- }
142
-
143
130
/**
144
131
* The thread ID, which is the same as the root event ID
145
132
*/
You can’t perform that action at this time.
0 commit comments