From f8186bfc744c66426635208838c3e2a4dcbecfd2 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 24 Apr 2019 22:02:57 -0400
Subject: [PATCH] show immediately pinned statuses
---
src/modules/statuses.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/statuses.js b/src/modules/statuses.js
index 68666982..0650a86b 100644
--- a/src/modules/statuses.js
+++ b/src/modules/statuses.js
@@ -539,7 +539,7 @@ const statuses = {
},
fetchPinnedStatuses ({ rootState, dispatch }, userId) {
rootState.api.backendInteractor.fetchPinnedStatuses(userId)
- .then(statuses => dispatch('addNewStatuses', { statuses, timeline: 'user', userId }))
+ .then(statuses => dispatch('addNewStatuses', { statuses, timeline: 'user', userId, showImmediately: true }))
},
pinStatus ({ rootState, commit }, statusId) {
return rootState.api.backendInteractor.pinOwnStatus(statusId)