Setting to disable avatar education message

Continuing the discussion from Optimizing letter avatar rendering:

We need a Site Setting to disable education message for change avatar when we already have it customized through the new default avatar system.

It looks the check is made here:

https://github.com/discourse/discourse/blob/9ce66038647bc4ff63167fe9c74857a01acc0875/lib/composer_messages_finder.rb#L50

4 Likes

Looks like a simple return if SiteSettings.disable_avatar_education_message will do :smiley:

4 Likes

Done via:

https://github.com/discourse/discourse/commit/e65a7370ef94f926386a9552063fd159ad310d41

4 Likes