Skip to content

fix(notifications): images don't show in notifications - #2203

Open
Zensonaton wants to merge 7 commits into
DrKLO:masterfrom
Zensonaton:fix/images-in-notifications
Open

Zensonaton wants to merge 7 commits into
DrKLO:masterfrom
Zensonaton:fix/images-in-notifications

Conversation

@Zensonaton

@Zensonaton Zensonaton commented Oct 16, 2026 •

Copy link
Copy Markdown

Description

This PR fixes images that aren't being downloaded and shown in notifications unless cached. This affects images and stickers.

Screencasts

Before12 After23
before.mp4
after.mp4

Google Pixel 11 Pro with Android 17 (stable) used for the screenshots.

Further notes

Footnotes

  1. Tested on Telegram v13.0.2 (7175). ↩

  2. Cache was cleared for stock and fork versions of Telegram before recording. ↩ ↩2

  3. Avatar fix isn't included in this PR. See PR-2195 for details. ↩

Only the largest size was looked up, which is usually not downloaded.
Follows the auto-download settings, the notification is redrawn once the photo is loaded.
They were passed as webp images that can't be decoded.
Revoking it after 20 s broke the image when the notification was redrawn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant