Fix crash when opening statuses in Safari

This commit is contained in:
Shadowfacts 2020-05-09 13:31:07 -04:00
parent bbd7d82620
commit 9f75106706
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ extension StatusMO {
self.sensitive = status.sensitive self.sensitive = status.sensitive
self.spoilerText = status.spoilerText self.spoilerText = status.spoilerText
self.uri = status.uri self.uri = status.uri
self.url = status.url
self.visibility = status.visibility self.visibility = status.visibility
self.account = container.account(for: status.account.id, in: context) ?? AccountMO(apiAccount: status.account, container: container, context: context) self.account = container.account(for: status.account.id, in: context) ?? AccountMO(apiAccount: status.account, container: container, context: context)
if let reblog = status.reblog { if let reblog = status.reblog {