This commit is contained in:
Nathan Mattes 2023-06-01 17:22:53 +02:00
parent 8df4729cdd
commit 58ddb2bd06
1 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,8 @@ extension HomeTimelineViewController {
let userDoesntFollowPeople: Bool
if let managedObjectContext = self?.context.managedObjectContext,
let me = self?.authContext.mastodonAuthenticationBox.authenticationRecord.object(in: managedObjectContext)?.user {
let authContext = self?.authContext,
let me = authContext.mastodonAuthenticationBox.authentication.user(in: managedObjectContext){
userDoesntFollowPeople = me.followersCount == 0
} else {
userDoesntFollowPeople = true