diff --git a/app/views/ThreadMessagesView/index.tsx b/app/views/ThreadMessagesView/index.tsx index 91e620c5d..d22aa534f 100644 --- a/app/views/ThreadMessagesView/index.tsx +++ b/app/views/ThreadMessagesView/index.tsx @@ -48,6 +48,7 @@ interface IThreadMessagesViewState { currentFilter: Filter; isSearching: boolean; searchText: string; + offset: number; } interface IThreadMessagesViewProps extends IBaseScreen { @@ -85,7 +86,8 @@ class ThreadMessagesView extends React.Component { - const { loading, end, messages, searchText } = this.state; + const { loading, end, searchText, offset } = this.state; if (end || loading || !this.mounted) { return; } @@ -319,14 +321,15 @@ class ThreadMessagesView extends React.Component