Compare commits

..

No commits in common. "003ca8089bf50e9e61a262c93285061e6aab9fed" and "f62e323400354a661623973db40dade2c88e7c60" have entirely different histories.

View file

@ -41,17 +41,14 @@ const postStatus = ({
preview,
idempotencyKey,
}).then(({ data, timestamp }) => {
if (!preview) {
if (!preview)
useStatusesStore().addNewStatuses({
timestamp,
statuses: [data],
})
useTimelinesStore().addStatusesToTimeline('friends', undefined, {
statuses: [data.id],
timeline: 'friends',
showImmediately: true,
noIdUpdate: true, // To prevent missing notices on next pull.
})
}
return data
})
@ -85,7 +82,7 @@ const editStatus = ({
timestamp,
})
useTimelinesStore().addStatusesToTimeline('friends', undefined, {
statuses: [data.id],
statuses: [data],
showImmediately: true,
noIdUpdate: true, // To prevent missing notices on next pull.
})