Skip to content

Link preview keeps old URL after editing message #2119

@dmitryshliugaev

Description

@dmitryshliugaev

Checklist

  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues

Description

When a Telegram message contains a URL with a generated link preview, and that message is later edited to replace the URL with a different one, the preview appears to remain cached. As a result, users can still open the old URL from the preview even after the message has been edited.

Expected Behavior

After editing a message and replacing the URL, the link preview should be updated accordingly, and tapping the preview should open the new URL instead of the old one.

Actual Behavior

After editing the message, the visible text may show the new URL, but the preview still points to the previously cached URL. Users who tap the preview are taken to the old link.

Steps to Reproduce

  1. Send a message in Telegram containing a URL so that a link preview is generated.
  2. Edit the message and replace the original URL with a different one.
  3. Tap the link preview.
  4. Observe that the preview still opens the old URL instead of the updated one.

Screenshots and Videos

Can be provided if needed.

Environment

Device: iPhone

iOS version: 26.3.1

App version: 12.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions