Display edited status

This commit is contained in:
Tusooa Zhu 2022-06-11 12:20:11 -04:00
parent 1a333aabba
commit bb5aed09cf
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 6 additions and 1 deletions

View File

@ -101,7 +101,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)
} else if (message.event === 'pleroma:chat_update') {