logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 10af09280002cc347e7b033e1a99ece072b4d804
parent b4cbbefbd2dac62a0e334da43d1e076d4bef00a7
Author: tusooa <tusooa@kazv.moe>
Date:   Sun, 15 Jan 2023 00:08:59 -0500

Add status authors from search results to store

Diffstat:

Msrc/modules/statuses.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/modules/statuses.js b/src/modules/statuses.js @@ -765,6 +765,7 @@ const statuses = { return store.rootState.api.backendInteractor.search2({ q, resolve, limit, offset, following, type }) .then((data) => { store.commit('addNewUsers', data.accounts) + store.commit('addNewUsers', data.statuses.map(s => s.user).filter(u => u)) store.commit('addNewStatuses', { statuses: data.statuses }) return data })