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. |
||
|---|---|---|
| .. | ||
| bot_keyboard.cpp | ||
| bot_keyboard.h | ||
| chat_helpers.style | ||
| emoji_keywords.cpp | ||
| emoji_keywords.h | ||
| emoji_list_widget.cpp | ||
| emoji_list_widget.h | ||
| emoji_sets_manager.cpp | ||
| emoji_sets_manager.h | ||
| emoji_suggestions_widget.cpp | ||
| emoji_suggestions_widget.h | ||
| field_autocomplete.cpp | ||
| field_autocomplete.h | ||
| gifs_list_widget.cpp | ||
| gifs_list_widget.h | ||
| message_field.cpp | ||
| message_field.h | ||
| send_context_menu.cpp | ||
| send_context_menu.h | ||
| spellchecker_common.cpp | ||
| spellchecker_common.h | ||
| stickers_dice_pack.cpp | ||
| stickers_dice_pack.h | ||
| stickers_emoji_image_loader.cpp | ||
| stickers_emoji_image_loader.h | ||
| stickers_emoji_pack.cpp | ||
| stickers_emoji_pack.h | ||
| stickers_list_widget.cpp | ||
| stickers_list_widget.h | ||
| stickers_lottie.cpp | ||
| stickers_lottie.h | ||
| tabbed_panel.cpp | ||
| tabbed_panel.h | ||
| tabbed_section.cpp | ||
| tabbed_section.h | ||
| tabbed_selector.cpp | ||
| tabbed_selector.h | ||