tdesktop/Telegram/SourceFiles/history
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
..
admin_log Update API scheme to layer 123. 2021-01-25 16:47:40 +04:00
feed Replaced snap util function with std::clamp. 2021-01-24 10:41:10 +03:00
view Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00
history.cpp Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00
history.h Unified checking for editable message. 2021-01-11 22:46:56 +03:00
history_drag_area.cpp Move App::roundRect to Ui::FillRoundRect. 2020-10-30 18:32:18 +03:00
history_drag_area.h Slightly refactored DragArea. 2020-07-20 21:44:07 +03:00
history_inner_widget.cpp Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_inner_widget.h Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_item.cpp Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_item.h Unified checking for editable message. 2021-01-11 22:46:56 +03:00
history_item_components.cpp Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_item_components.h Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_item_text.cpp Fix captions selection in column albums. 2020-10-30 18:32:21 +03:00
history_item_text.h
history_location_manager.cpp Use UrlClickHandler::Open instead of File::OpenUrl 2020-10-30 11:52:10 +03:00
history_location_manager.h
history_message.cpp Add support for imported messages. 2021-01-25 16:50:58 +04:00
history_message.h Allow all messages silent in support mode. 2020-11-19 16:23:57 +03:00
history_service.cpp Don't show checks for incoming service messages. 2021-01-25 16:50:59 +04:00
history_service.h Make 'voice chat' links clickable in service messages. 2020-12-08 15:51:18 +04:00
history_widget.cpp Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00
history_widget.h Improve editing messages with link previews. 2021-01-29 15:27:17 +04:00