diff --git a/Tusker/TuskerNavigationDelegate.swift b/Tusker/TuskerNavigationDelegate.swift index 7b621aea..ff8d2109 100644 --- a/Tusker/TuskerNavigationDelegate.swift +++ b/Tusker/TuskerNavigationDelegate.swift @@ -210,7 +210,7 @@ extension TuskerNavigationDelegate where Self: UIViewController { let bookmarked = status.bookmarked ?? false customActivites.insert(bookmarked ? UnbookmarkStatusActivity() : BookmarkStatusActivity(), at: 0) - if status.account.id == apiController.account.id { + if apiController.account != nil, status.account.id == apiController.account.id { let pinned = status.pinned ?? false customActivites.insert(pinned ? UnpinStatusActivity() : PinStatusActivity(), at: 1) }