Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> Philip K writes: >> >>> Previous implementation didn't correctly handle the result of >>> dns-query, and didn't implement the necessary record selection >>> algorithm as specified on the wiki (https://wiki.libravatar.org/api/, >>> "Federated servers"). >>> >>> * lisp/image/gravatar.el (gravatar--service-libravatar): Fix >>> libravatar image host resolver algorithm. >> >> Looks good to me, although this didn't apply either, since the code has >> been rewritten to be asynchronous. Could you re-spin this patch, too, >> and I'll get it applied... > > Philip, have you had time to look at this? The patch below should implement the fixes from bug#40354. I found a libravatar user here[0], and could test it by evaluating (gravatar--service-libravatar "who@zerokspot.com" #'message) or (gravatar--service-libravatar "who@gnu.org" #'message) as an example for a domain that doesn't use libravatar. Both work as expected, and don't lag. [0]: https://zerokspot.com/weblog/2020/05/26/avatars-without-gravatar/ -- Philip K.