logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: bb5aed09cf0fcdaf9e2e2974bfe44888f43f14fa
parent 1a333aabba759fb68449ead9c47e986f456e8c8c
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Sat, 11 Jun 2022 12:20:11 -0400

Display edited status

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') {