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:
Henry Jameson 2019-01-17 21:46:03 +03:00
parent 0f8baff5a3
commit cab87744c8
6 changed files with 38 additions and 43 deletions

View file

@ -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])