From 35eb17a922d7a8c849bbad1e3df9f14448f7a64b Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 29 Jan 2024 13:27:22 +0100 Subject: [PATCH] dashboard: no need for additional avatar query args --- dashboard/src/js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/js/client.js b/dashboard/src/js/client.js index 8c403f4df..6cd632f85 100644 --- a/dashboard/src/js/client.js +++ b/dashboard/src/js/client.js @@ -746,7 +746,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout this._userInfo.twoFactorAuthenticationEnabled = userInfo.twoFactorAuthenticationEnabled; this._userInfo.role = userInfo.role; this._userInfo.source = userInfo.source; - this._userInfo.avatarUrl = userInfo.avatarUrl + '?s=128&default=mp&ts=' + Date.now(); // we add the timestamp to avoid caching + this._userInfo.avatarUrl = userInfo.avatarUrl + '?ts=' + Date.now(); // we add the timestamp to avoid caching this._userInfo.hasBackgroundImage = userInfo.hasBackgroundImage; this._userInfo.isAtLeastOwner = [ ROLES.OWNER ].indexOf(userInfo.role) !== -1; this._userInfo.isAtLeastAdmin = [ ROLES.OWNER, ROLES.ADMIN ].indexOf(userInfo.role) !== -1;