-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Room avatars are broken on email notifications #1546
Comments
Unsure in which exact way they were broken before but this looks to still be the case and still reproducible going back to "Riot notifications". The room avatars are just colored circles. The user avatars work just fine although I have blurred them out in the image. From the relevant code, |
Took a quick look at this out of curiosity. Looks like we'd need to provide an |
That sounds about the right spot to do this! Probably around: synapse/synapse/push/mailer.py Lines 359 to 365 in 0c3565d
We probably just need to check |
Judging by the template, this was intended ages ago, but we never actually passed an avatar URL to the template. I'm not sure what the best way to test this is. I've written a unit test of sorts, but I'd like to manually verify it by actually seeing an email. Maybe I should setup my own installation of synapse? Closes #1546.
Room for improvement here:
Not quite clear on where the boundary between Matrix and Element is here. But it could look nicer. |
Judging by the template, this was intended ages ago, but we never actually passed an avatar URL to the template. So let's provide one. Closes #1546. Co-authored-by: Patrick Cloke <[email protected]>
Thanks for fixing this up @DMRobertson 🦓 |
Submitted by @matthew:matrix.org
(Imported from https://matrix.org/jira/browse/SYN-695)
Relevant code
synapse/res/templates/room.html#L4-L14
The text was updated successfully, but these errors were encountered: