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 Move App::histories to Data::Session. 2019-01-17 12:21:28 +04:00
support_common.h Move App::histories to Data::Session. 2019-01-17 12:21:28 +04:00
support_helper.cpp Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00
support_helper.h Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
support_templates.cpp Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00
support_templates.h Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00