Fix reblog label showing incorrect account

This commit is contained in:
Shadowfacts 2020-06-16 22:01:01 -04:00
parent 5d751cd994
commit 39e847bda8
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 2 deletions

View File

@ -66,10 +66,11 @@ class TimelineStatusTableViewCell: BaseStatusTableViewCell {
if let rebloggedStatus = status.reblog { if let rebloggedStatus = status.reblog {
reblogStatusID = statusID reblogStatusID = statusID
rebloggerID = status.account.id rebloggerID = status.account.id
status = rebloggedStatus
realStatusID = rebloggedStatus.id
reblogLabel.isHidden = false reblogLabel.isHidden = false
updateRebloggerLabel(reblogger: status.account) updateRebloggerLabel(reblogger: status.account)
status = rebloggedStatus
realStatusID = rebloggedStatus.id
} else { } else {
reblogStatusID = nil reblogStatusID = nil
rebloggerID = nil rebloggerID = nil