Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Differential
D8074
Diff 27401
lib/hooks/message-hooks.js
Changeset View
oldestMessage is the message with the lowest id from results returned from callFetchLatestMessages. You set setFetchState({ type: 'everything_loaded' }); when oldestMessage === fetchState.message, so when you see some message for the second time. Why do you see a message for the second time? Since fetchThreadsWithLatestMessages fetches messages that are strictly smaller than fromMessageID can this happen?