2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Update view after boosting or favoriting

Fixes #1409 [REGRESSION] Favoriting and boosting from the home timeline doesn't always stick
This commit is contained in:
shannon 2025-02-14 15:02:20 -05:00
parent 07a289a27e
commit b933fd602b

View File

@ -129,7 +129,12 @@ extension MastodonStatus: Hashable {
lhs.reblog?.poll == rhs.reblog?.poll &&
lhs.reblog?.entity.poll == rhs.reblog?.entity.poll &&
lhs.showDespiteContentWarning == rhs.showDespiteContentWarning &&
lhs.reblog?.showDespiteContentWarning == rhs.reblog?.showDespiteContentWarning
lhs.reblog?.showDespiteContentWarning == rhs.reblog?.showDespiteContentWarning &&
lhs.entity.reblogged == rhs.entity.reblogged &&
lhs.entity.repliesCount == rhs.entity.repliesCount &&
lhs.entity.favourited == rhs.entity.favourited &&
lhs.entity.reblogsCount == rhs.entity.reblogsCount &&
lhs.entity.favouritesCount == rhs.entity.favouritesCount
}
public func hash(into hasher: inout Hasher) {