Create icons for users without an avatar in desktop notifications (#305)
authorginnyTheCat <ginnythecat@lelux.net>
Tue, 15 Feb 2022 11:48:25 +0000 (12:48 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Feb 2022 11:48:25 +0000 (17:18 +0530)
commit8d3f0a9f4d76ae6c7f4b9cbc0b09eba0899fcb82
tree9bcfc0c0335666e6a57206ea0ad1ae2d18927fef
parentfe674ef2ea3c7fbd05e225da724b20ba1babb38c
Create icons for users without an avatar in desktop notifications (#305)

* Add notifications icon for users without an avatar

* Render icon at higher resolution

* Use scale to render at higher resolution
src/app/atoms/avatar/Avatar.jsx
src/app/atoms/avatar/render.js [new file with mode: 0644]
src/client/state/Notifications.js
src/util/colorMXID.js
src/util/common.js