Skip to content

Commit

Permalink
Make sure video is marked has shortcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Mar 19, 2019
1 parent bd30e2f commit d0c2c16
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2555,6 +2555,8 @@ extension AztecPostViewController {
}
if let videoPressGUID = media.videopressGUID, !videoPressGUID.isEmpty {
videoAttachment.videoPressID = videoPressGUID
} else {
videoAttachment.isShortcode = true
}
richTextView.refresh(attachment, overlayUpdateOnly: !posterChange)
}
Expand Down

0 comments on commit d0c2c16

Please sign in to comment.