Filter out conversations with deleted statuses
This commit is contained in:
parent
49c04a4259
commit
12c9cb1723
|
@ -53,6 +53,7 @@ function Mentions(props) {
|
|||
}
|
||||
const results = await conversationsIterator.current.next();
|
||||
let { value } = results;
|
||||
value = value?.filter((item) => item.lastStatus);
|
||||
if (value?.length) {
|
||||
if (firstLoad) {
|
||||
latestConversationItem.current = value[0].lastStatus.id;
|
||||
|
|
Loading…
Reference in a new issue