Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
f9b94df774
commit
b95cad71eb
|
@ -60,7 +60,7 @@ export type TApplicationActions = TActionActiveUsers &
|
|||
TActionEncryption &
|
||||
TActionSortPreferences &
|
||||
TActionUserTyping &
|
||||
TActionCreateDiscussion&
|
||||
TActionCreateDiscussion &
|
||||
TActionCreateChannel &
|
||||
TActionsShare &
|
||||
TActionServer &
|
||||
|
|
|
@ -220,7 +220,6 @@ class ThreadMessagesView extends React.Component<IThreadMessagesViewProps, IThre
|
|||
.query(...whereClause)
|
||||
.observeWithColumns(['updated_at']);
|
||||
|
||||
// TODO: Refactor when migrate messages
|
||||
this.messagesSubscription = this.messagesObservable.subscribe(messages => {
|
||||
const { currentFilter } = this.state;
|
||||
const displayingThreads = this.getFilteredThreads(messages, subscription, currentFilter);
|
||||
|
|
Loading…
Reference in New Issue