matrix-appservice-slack icon indicating copy to clipboard operation
matrix-appservice-slack copied to clipboard

Ignore generic avatars from Slack

Open auscompgeek opened this issue 6 years ago • 2 comments

Potentially terrible feature request, but here goes anyway.

Slack now has very unimaginative fallback user images - they all look like this, but with different colours:

Slack default avatar

I personally feel Riot's fallback avatar generation is more useful, but opinions may differ here. :man_shrugging:

This is a request to ignore the default avatars when fetching from Gravatar (i.e. iff the avatar URL is Gravatar, and we get the default, ignore it).

auscompgeek avatar Oct 26 '19 12:10 auscompgeek

Do you have examples of what we could use to detect the default? We would also want to be able to unset avatars if they changed to a default one.

Cadair avatar Oct 26 '19 12:10 Cadair

The only way I can think of is to check whether it's a Gravatar URL, and change the d query parameter (or remove it and check whether the hash of the returned image is the same as the Gravatar logo?).

auscompgeek avatar Oct 26 '19 14:10 auscompgeek