Skip to content

Images with captions don't store Matrix event ID of caption #511

@tulir

Description

@tulir

Currently the database can only store one event ID per Telegram message (except for edits). However, images with captions are bridged as two messages. This means that:

  • Replying to the image event from Matrix won't be bridged correctly
  • Deleting the image event from Matrix won't be bridged correctly
  • Deleting the message from Telegram will only delete the caption

Bridging image messages as inline images is already supported by the bridge, but not supported by most clients. The preferred solution would be implementing matrix-org/matrix-spec-proposals#2530 everywhere, but alternatively the database could be updated to support a many-to-one mapping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: defectSomething isn't working and it never has workedrequires db updateRequires a database schema change and migration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions