forked from cybrespace/pinafore
lint fixes
This commit is contained in:
parent
64350ad912
commit
8dcf72d144
|
@ -67,7 +67,6 @@ export async function updateVerifyCredentialsForInstance (instanceName) {
|
|||
)
|
||||
}
|
||||
|
||||
|
||||
export async function updateInstanceInfo (instanceName) {
|
||||
await cacheFirstUpdateAfter(
|
||||
() => getInstanceInfo(instanceName),
|
||||
|
|
|
@ -18,6 +18,4 @@ export async function updatePinnedStatusesForAccount(accountId) {
|
|||
store.set({pinnedStatuses: $pinnedStatuses})
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
}
|
|
@ -50,7 +50,7 @@ function handleStreamMessage (instanceName, timelineName, message) {
|
|||
}
|
||||
|
||||
export function createStream (streamingApi, instanceName, accessToken, timelineName) {
|
||||
new TimelineStream(streamingApi, accessToken, timelineName, {
|
||||
return new TimelineStream(streamingApi, accessToken, timelineName, {
|
||||
onMessage (msg) {
|
||||
console.log('message', msg)
|
||||
if (msg.event !== 'update' && msg.event !== 'delete') {
|
||||
|
|
|
@ -2,7 +2,6 @@ import { updateInstanceInfo } from '../_actions/instances'
|
|||
import { createStream } from '../_actions/streaming'
|
||||
|
||||
export function timelineObservers (store) {
|
||||
|
||||
let currentTimelineStream
|
||||
|
||||
store.observe('currentTimeline', async (currentTimeline) => {
|
||||
|
|
Loading…
Reference in New Issue