diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift index 839f0298..c4b9b9f6 100644 --- a/damus/Views/NoteContentView.swift +++ b/damus/Views/NoteContentView.swift @@ -380,7 +380,7 @@ func render_blocks(blocks: [Block], profiles: Profiles, privkey: String?) -> Not func is_image_url(_ url: URL) -> Bool { let str = url.lastPathComponent.lowercased() - let isUrl = str.hasSuffix(".png") || str.hasSuffix(".jpg") || str.hasSuffix(".jpeg") || str.hasSuffix(".gif") + let isUrl = str.hasSuffix(".png") || str.hasSuffix(".jpg") || str.hasSuffix(".jpeg") || str.hasSuffix(".gif") || str.hasSuffix(".webp") return isUrl }