A platform for community discussion. Free, open, simple.
FIX: Refreshing Gravatar didn't work
Gerhard Schlagerac7e6dab0645
diff --git a/app/assets/javascripts/discourse/controllers/avatar-selector.js.es6 b/app/assets/javascripts/discourse/controllers/avatar-selector.js.es6index 170f28fc303..6eb9a7183ed 100644--- a/app/assets/javascripts/discourse/controllers/avatar-selector.js.es6+++ b/app/assets/javascripts/discourse/controllers/avatar-selector.js.es6@@ -37,7 +37,7 @@ export default Ember.Controller.extend(ModalFunctionality, {this.set("gravatarRefreshDisabled", true);return ajax(`/user_avatar/${this.get("username")}/refresh_gravatar.json`, { method: "POST" }).then(result => {- if (!result.gravatar_avatar_upload_id) {+ if (!result.gravatar_upload_id) {this.set("gravatarFailed", true);} else {this.setProperties({