diff options
| author | Henry Jameson <me@hjkos.com> | 2020-10-17 21:26:13 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-10-17 21:26:13 +0300 |
| commit | a664fde02f5f5eec96bbcaa2b6f19e1694541e76 (patch) | |
| tree | 251b21d50cb6e0dbc8a4d8082989266aca6c8e54 /src/modules/api.js | |
| parent | 29ff0be92cfd87ba95d1f78323794dfb1223b514 (diff) | |
| parent | 76a9a51620c01257492a450f6cd0a6f98a885dce (diff) | |
Merge remote-tracking branch 'origin/develop' into settings-changed
* origin/develop:
fix fontello
Translated using Weblate (Russian)
Translated using Weblate (Italian)
lint fix
fixed copy-pasting leftovers
improved algorithm, possibly speed too
fix 8x spaces inside this paren
feat/reorder-emojis-by-position-of-keyword
rename to gravestone
Apply 1 suggestion(s) to 1 file(s)
change i18n phrasing
separate reply button to its own component, add changelog entry
add basic deletes support that works with masto WS
Diffstat (limited to 'src/modules/api.js')
| -rw-r--r-- | src/modules/api.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/api.js b/src/modules/api.js index 73511442..0a354c3f 100644 --- a/src/modules/api.js +++ b/src/modules/api.js @@ -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, |
