add basic deletes support that works with masto WS
This commit is contained in:
parent
a73b09c732
commit
40ca0b394e
7 changed files with 57 additions and 2 deletions
|
@ -72,6 +72,8 @@ const api = {
|
|||
showImmediately: timelineData.visibleStatuses.length === 0,
|
||||
timeline: 'friends'
|
||||
})
|
||||
} else if (message.event === 'delete') {
|
||||
dispatch('deleteStatusById', message.id)
|
||||
} else if (message.event === 'pleroma:chat_update') {
|
||||
dispatch('addChatMessages', {
|
||||
chatId: message.chatUpdate.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue