diff --git a/native/chat/message-list.react.js b/native/chat/message-list.react.js --- a/native/chat/message-list.react.js +++ b/native/chat/message-list.react.js @@ -297,14 +297,19 @@ return; } + this.setState({ loadingFromScroll: true }); const oldestMessageServerID = this.oldestMessageServerID(); + const threadID = this.props.threadInfo.id; if (oldestMessageServerID) { - this.setState({ loadingFromScroll: true }); - const threadID = this.props.threadInfo.id; this.props.dispatchActionPromise( fetchMessagesBeforeCursorActionTypes, this.props.fetchMessagesBeforeCursor(threadID, oldestMessageServerID), ); + } else { + this.props.dispatchActionPromise( + fetchMostRecentMessagesActionTypes, + this.props.fetchMostRecentMessages(threadID), + ); } };