fix: Local user's domain is shown for remote users when sharing a post

This commit is contained in:
Marcus Kida 2022-11-16 15:01:49 +01:00
parent 939d85bb8f
commit ccaffe031e
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ extension DataSourceFacade {
self.url = url
self.metadata = LPLinkMetadata()
metadata.url = url
metadata.title = "\(status.author.displayName) (@\(status.author.username)@\(status.author.domain))"
metadata.title = "\(status.author.displayName) (@\(status.author.acctWithDomain))"
metadata.iconProvider = NSItemProvider(object: IconProvider(url: status.author.avatarImageURLWithFallback(domain: status.author.domain)))
}