logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4b3de2797e028e9a56bff24dde9f5f88d5358b54
parent 1a333aabba759fb68449ead9c47e986f456e8c8c
Author: Sean King <seanking2919@protonmail.com>
Date:   Sat, 11 Jun 2022 16:31:13 +0000

Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'

Display edited status

See merge request seanking/pleroma-fe!1

Diffstat:

Msrc/modules/api.js7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/modules/api.js b/src/modules/api.js @@ -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') {