diff --git a/Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift b/Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift index e9572ce3c..029aec5d4 100644 --- a/Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift +++ b/Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift @@ -305,9 +305,11 @@ extension NotificationTableViewCellDelegate where Self: DataSourceProvider & Aut return } + guard let account = notification.status?.entity.account else { return } + await DataSourceFacade.coordinateToProfileScene( provider: self, - account: notification.entity.account + account: account ) } // end Task }