Fix pinned statuses gone missing
This commit is contained in:
parent
86ec30852c
commit
d9b9c04ec0
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ function AccountStatuses() {
|
||||||
if (pinnedStatuses?.length) {
|
if (pinnedStatuses?.length) {
|
||||||
pinnedStatuses.forEach((status) => {
|
pinnedStatuses.forEach((status) => {
|
||||||
status._pinned = true;
|
status._pinned = true;
|
||||||
|
saveStatus(status, instance);
|
||||||
});
|
});
|
||||||
if (pinnedStatuses.length >= 3) {
|
if (pinnedStatuses.length >= 3) {
|
||||||
const pinnedStatusesIds = pinnedStatuses.map((status) => status.id);
|
const pinnedStatusesIds = pinnedStatuses.map((status) => status.id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue