mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 08:48:47 +01:00
Filter out conversations with deleted statuses
This commit is contained in:
parent
49c04a4259
commit
12c9cb1723
1 changed files with 1 additions and 0 deletions
|
@ -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