fix(ui): wrong reply to account (#2649)
parent
873c62e9ef
commit
62f70250d5
|
@ -24,7 +24,7 @@ useIntersectionObserver(
|
||||||
watch(
|
watch(
|
||||||
() => [props.status, targetIsVisible.value] satisfies WatcherType,
|
() => [props.status, targetIsVisible.value] satisfies WatcherType,
|
||||||
([newStatus, newVisible]) => {
|
([newStatus, newVisible]) => {
|
||||||
if (newStatus.account) {
|
if (newStatus.account && newStatus.inReplyToAccountId === newStatus.account.id) {
|
||||||
account.value = newStatus.account
|
account.value = newStatus.account
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue