Merge pull request #605 from mastodon/fix_share_wrong_domain
fix: Local user's domain is shown for remote users when sharing a post
This commit is contained in:
commit
4d5d9477fc
|
@ -84,7 +84,7 @@ extension DataSourceFacade {
|
||||||
self.url = url
|
self.url = url
|
||||||
self.metadata = LPLinkMetadata()
|
self.metadata = LPLinkMetadata()
|
||||||
metadata.url = url
|
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)))
|
metadata.iconProvider = NSItemProvider(object: IconProvider(url: status.author.avatarImageURLWithFallback(domain: status.author.domain)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue