Fix fetching more notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
c2959f2137
commit
a64bd537f4
1 changed files with 6 additions and 0 deletions
|
@ -243,6 +243,12 @@ const expandNotifications = ({ maxId }: Record<string, any> = {}, done: () => an
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (maxId?.includes('+')) {
|
||||||
|
const ids = maxId.split('+');
|
||||||
|
|
||||||
|
maxId = ids[ids.length - 1];
|
||||||
|
}
|
||||||
|
|
||||||
const params: Record<string, any> = {
|
const params: Record<string, any> = {
|
||||||
max_id: maxId,
|
max_id: maxId,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue