Fix status that is reblogged and contains a followed hashtag not showing reblogger label

This commit is contained in:
Shadowfacts 2023-12-17 18:09:25 -05:00
parent 51f4a780e2
commit 7f0a9d8d5a
1 changed files with 1 additions and 3 deletions

View File

@ -590,9 +590,7 @@ class TimelineStatusCollectionViewCell: UICollectionViewListCell, StatusCollecti
if let reblogStatus { if let reblogStatus {
hideTimelineReason = false hideTimelineReason = false
updateRebloggerLabel(reblogger: reblogStatus.account) updateRebloggerLabel(reblogger: reblogStatus.account)
} } else if showFollowedHashtags {
if showFollowedHashtags {
let hashtags = mastodonController.followedHashtags.filter({ followed in status.hashtags.contains(where: { followed.name == $0.name }) }) let hashtags = mastodonController.followedHashtags.filter({ followed in status.hashtags.contains(where: { followed.name == $0.name }) })
if !hashtags.isEmpty { if !hashtags.isEmpty {
hideTimelineReason = false hideTimelineReason = false