From 10af09280002cc347e7b033e1a99ece072b4d804 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sun, 15 Jan 2023 00:08:59 -0500 Subject: [PATCH] Add status authors from search results to store --- src/modules/statuses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 5a5c7b1b74..77dd7e1c2d 100644 --- 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 })