Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafhiggins committed Apr 14, 2024
1 parent 1acded0 commit 4a4b4fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions imessage/bluebubbles/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1754,8 +1754,10 @@ func (bb *blueBubbles) convertBBMessageToiMessage(bbMessage Message) (*imessage.
}
if err == nil {
message.RichLink.Icon = &imessage.RichLinkAsset{}
//message.RichLink.Icon.OriginalURL = og.URL + "/favicon.ico" // Don't add URLs, if the icon is empty then it wil attempt to fetch the icon
message.RichLink.Icon.Source = &imessage.RichLinkAssetSource{} // But the library doesn't provide anything for an icon
// Don't add URLs, if the icon is empty then it wil attempt to fetch the icon with the URL
// The library used also doesn't provide anything for an icon
//message.RichLink.Icon.OriginalURL = og.URL + "/favicon.ico"
message.RichLink.Icon.Source = &imessage.RichLinkAssetSource{}
message.RichLink.Icon.Source.Data = icon
//message.RichLink.Icon.Source.URL = og.URL + "/favicon.ico"
}
Expand Down

0 comments on commit 4a4b4fb

Please sign in to comment.