i think it's usable now

This commit is contained in:
Henry Jameson 2026-08-10 22:26:22 +03:00
commit 37f501108b
42 changed files with 296 additions and 1295 deletions

View file

@ -1,5 +1,6 @@
import { map } from 'lodash'
import { useStatusesStore } from 'src/stores/statuses.js'
import { useUsersStore } from 'src/stores/users.js'
import {
@ -38,9 +39,10 @@ const postStatus = ({
poll,
preview,
idempotencyKey,
}).then(({ data }) => {
}).then(({ data, timestamp }) => {
if (!preview)
store.dispatch('addNewStatuses', {
useStatusesStore().addNewStatuses({
timestamp,
statuses: [data],
timeline: 'friends',
showImmediately: true,