1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 06:18:07 +09:00

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

This commit is contained in:
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

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
}