Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs #26342

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs #26342

merged 1 commit into from
Mar 29, 2021

Conversation

pirate
Copy link
Contributor

@pirate pirate commented Mar 27, 2021

Gmail users added to Nextcloud calendar events currently receive a calendar invite email with broken icon images:

email screenshot with broken iconsbroken icons

This is due to SVGs not being supported by Gmail. This is a historically common problem with Nextcloud emails, and other past PRs have fixed similar issues, but as of v21 / v20.0.8, the calendar event invite email still has broken icons. This PR addresses fixes issue by adding PNG equivalents for all the icons, and updating the email template to use the PNGs instead. Though they are no longer used, I left the old SVGs alone instead of deleting them, in case we want to add a config flag to use SVGs, or regenerate the PNG at a different resolution in the future.

Related issues:

@pirate pirate changed the title Fix broken icons in Gmail by changing calendar invite emails to use PNGs instead of SVGs Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs Mar 27, 2021
Signed-off-by: Nick Sweeting <git@sweeting.me>
@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 29, 2021
@MorrisJobke MorrisJobke merged commit f8bad86 into nextcloud:master Mar 29, 2021
@welcome
Copy link

welcome bot commented Mar 29, 2021

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@MorrisJobke MorrisJobke added this to the Nextcloud 22 milestone Mar 29, 2021
@st3iny
Copy link
Member

st3iny commented Mar 29, 2021

/backport to stable21

@st3iny
Copy link
Member

st3iny commented Mar 29, 2021

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: activity and notification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants