Skip to content

Commit

Permalink
ui/timeline: 알림 탭에서 멘션 시에도 relatedAccount가 설정되던 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
unstabler committed Nov 30, 2024
1 parent 4bb689c commit d0e52c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reazure/views/timeline/PostGroup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ fileprivate extension StatusModel {
var rootRelatedAccount: AccountAdaptor? {
// check (self instanceof NotificationModel)
if let _self = self as? NotificationModel {
return _self.notification.account
if _self.notification.type != .mention {
return _self.notification.account
}
}

return nil
Expand Down

0 comments on commit d0e52c2

Please sign in to comment.