This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 16813c9  one last gravatar url replacement
16813c9 is described below

commit 16813c9871d19d4d7d7c921a3e44810431f9ff0d
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Nov 3 19:09:15 2021 +0100

    one last gravatar url replacement
---
 webui/js/ponymail.js             | 4 ++--
 webui/js/source/sidebar-stats.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index 21413d2..cd35c6d 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -4189,7 +4189,7 @@ async function sidebar_stats(json) {
         });
         pimg = new HTML('img', {
             class: "gravatar_sm",
-            src: 
"https://secure.gravatar.com/avatar/%s.jpg?s=64&r=g&d=mm".format(par.gravatar)
+            src: gravatar_url.format(par.gravatar)
         })
         pdiv.inject(pimg);
         pdiv.inject(new HTML('b', {}, par.name + ": "));
@@ -4210,4 +4210,4 @@ async function sidebar_stats(json) {
         }, 50);
     }
 
-}
\ No newline at end of file
+}
diff --git a/webui/js/source/sidebar-stats.js b/webui/js/source/sidebar-stats.js
index d1605d6..1e4d650 100644
--- a/webui/js/source/sidebar-stats.js
+++ b/webui/js/source/sidebar-stats.js
@@ -59,7 +59,7 @@ async function sidebar_stats(json) {
         });
         pimg = new HTML('img', {
             class: "gravatar_sm",
-            src: 
"https://secure.gravatar.com/avatar/%s.jpg?s=64&r=g&d=mm".format(par.gravatar)
+            src: gravatar_url.format(par.gravatar)
         })
         pdiv.inject(pimg);
         pdiv.inject(new HTML('b', {}, par.name + ": "));
@@ -80,4 +80,4 @@ async function sidebar_stats(json) {
         }, 50);
     }
 
-}
\ No newline at end of file
+}

Reply via email to