logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4d2056d8aaa8f2c20a3275503857d38ac9112e5f
parent 4a5134af02d37f41c9adefa4a88411d022f58a47
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Sun, 15 Jan 2023 12:37:55 +0000

Merge branch 'tusooa/1175-user-card' into 'develop'

Add status authors from search results to store

Closes #1175

See merge request pleroma/pleroma-fe!1760

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 })