fix: fix bugs in streaming gap (#1355)
This commit is contained in:
parent
734d1d7bbd
commit
1a53ad3fe4
|
@ -39,7 +39,7 @@ export function createStream (api, instanceName, accessToken, timelineName, firs
|
|||
fillGap(timelineName, newFirstStatusId)
|
||||
if (timelineName === 'home') {
|
||||
// special case - home timeline stream also handles notifications
|
||||
let newFirstNotificationId = store.getFirstTimelineItemId(instanceName, timelineName)
|
||||
let newFirstNotificationId = store.getFirstTimelineItemId(instanceName, 'notifications')
|
||||
fillGap('notifications', newFirstNotificationId)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ export async function getTimeline (instanceName, accessToken, timeline, maxId, s
|
|||
|
||||
let params = {}
|
||||
if (since) {
|
||||
params.since = since
|
||||
params.since_id = since
|
||||
}
|
||||
|
||||
if (maxId) {
|
||||
|
|
Loading…
Reference in New Issue