mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 18:43:23 +02:00
Support GIF and SVG favicons
This commit is contained in:
@@ -439,7 +439,7 @@ public class ContactInfo {
|
||||
|
||||
Document doc = JsoupEx.parse(response);
|
||||
|
||||
Element link = doc.head().select("link[href~=.*\\.(ico|png)]").first();
|
||||
Element link = doc.head().select("link[href~=.*\\.(ico|png|gif|svg)]").first();
|
||||
String favicon = (link == null ? null : link.attr("href"));
|
||||
|
||||
if (TextUtils.isEmpty(favicon)) {
|
||||
|
||||
Reference in New Issue
Block a user