Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Aug 2, 2023
1 parent dd91560 commit a84b3fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions protocol/linkpreview/linkpreview.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,11 @@ func handlePhotoOembedType(preview *common.LinkPreview, response OEmbedBaseRespo
}

func handleVideoOembedType(preview *common.LinkPreview, response OEmbedBaseResponse) {

preview.Thumbnail.URL = response.ThumbnailURL
preview.Thumbnail.Height = response.ThumbnailHeight
}

func handleRichOembedType(preview *common.LinkPreview, response OEmbedBaseResponse) {

preview.Thumbnail.Width = response.Width
preview.Thumbnail.Height = response.Height
preview.Thumbnail.URL = response.ThumbnailURL
Expand Down

0 comments on commit a84b3fa

Please sign in to comment.