Revert "some initial work to make it possible to use "unregistered" timelines, i.e. not"
and some stuff to make favorites still work
This reverts commit 039a407400.
This commit is contained in:
parent
0f8baff5a3
commit
cab87744c8
6 changed files with 38 additions and 43 deletions
|
|
@ -327,11 +327,10 @@ const fetchTimeline = ({timeline, credentials, since = false, until = false, use
|
|||
favorites: MASTODON_USER_FAVORITES_TIMELINE_URL,
|
||||
tag: TAG_TIMELINE_URL
|
||||
}
|
||||
const type = timeline.type || timeline
|
||||
const isNotifications = type === 'notifications'
|
||||
const isNotifications = timeline === 'notifications'
|
||||
const params = []
|
||||
|
||||
let url = timelineUrls[type]
|
||||
let url = timelineUrls[timeline]
|
||||
|
||||
if (since) {
|
||||
params.push(['since_id', since])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue