Merge pull request #900 from j-f1/set-intent-url
Intent: Set the `url` property of the Post object before returning it
This commit is contained in:
commit
2b2a879905
|
@ -98,6 +98,9 @@ extension SendPostIntentHandler: SendPostIntentHandling {
|
|||
subtitle: content,
|
||||
image: response.value.account.avatarImageURL().flatMap { INImage(url: $0) }
|
||||
)
|
||||
if let urlString = response.value.url, let url = URL(string: urlString) {
|
||||
post.url = url
|
||||
}
|
||||
posts.append(post)
|
||||
} // end for in
|
||||
|
||||
|
|
Loading…
Reference in New Issue