editing #158

Merged
floatingghost merged 21 commits from editing into develop 2022-09-06 19:25:04 +00:00
1 changed files with 6 additions and 1 deletions
Showing only changes of commit 42cdf10f4d - Show all commits

View File

@ -99,7 +99,12 @@ const api = {
timeline: 'friends'
})
} else if (message.event === 'status.update') {
// Insert dispatch code here.
dispatch('addNewStatuses', {
statuses: [message.status],
userId: false,
showImmediately: message.status.id in timelineData.visibleStatusesObject,
timeline: 'friends'
})
} else if (message.event === 'delete') {
dispatch('deleteStatusById', message.id)
}