2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-11 14:06:25 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/chat_helpers
John Preston 8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
..
2020-12-08 11:19:23 +04:00
2020-06-23 21:53:38 +04:00
2020-12-07 16:13:46 +04:00
2020-09-29 19:03:23 +03:00