fix(ui): wrong reply to account (#2649)

main
Joaquín Sánchez 2024-03-05 14:21:58 +01:00 committed by GitHub
parent 873c62e9ef
commit 62f70250d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ useIntersectionObserver(
watch(
() => [props.status, targetIsVisible.value] satisfies WatcherType,
([newStatus, newVisible]) => {
if (newStatus.account) {
if (newStatus.account && newStatus.inReplyToAccountId === newStatus.account.id) {
account.value = newStatus.account
return
}