This commit is contained in:
Henry Jameson 2026-09-10 19:10:01 +03:00
commit b7943cac84
5 changed files with 34 additions and 22 deletions

View file

@ -22,6 +22,7 @@ export function useConversation(statusId, expanded) {
const loadError = ref(null)
const currentStatus = computed(() => getStatusObject(statusId.value))
const mainStatus = computed(() => currentStatus.value?.retweeted_status ?? currentStatus.value)
const sortById = (a, b) => {
const idA = a.type === 'retweet' ? a.retweeted_status.id : a.id
@ -115,6 +116,7 @@ export function useConversation(statusId, expanded) {
return {
currentStatus,
mainStatus,
conversation,
replies,
getReplies,