tdesktop/Telegram/SourceFiles/support
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
..
support_autocomplete.cpp Replaced snap util function with std::clamp. 2021-01-24 10:41:10 +03:00
support_autocomplete.h Add FieldAutocomplete to ComposeControls. 2020-11-17 12:56:51 +03:00
support_common.cpp
support_common.h
support_helper.cpp Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00
support_helper.h
support_templates.cpp
support_templates.h