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. |
||
|---|---|---|
| .. | ||
| admin_log | ||
| feed | ||
| view | ||
| history.cpp | ||
| history.h | ||
| history_drag_area.cpp | ||
| history_drag_area.h | ||
| history_inner_widget.cpp | ||
| history_inner_widget.h | ||
| history_item.cpp | ||
| history_item.h | ||
| history_item_components.cpp | ||
| history_item_components.h | ||
| history_item_text.cpp | ||
| history_item_text.h | ||
| history_location_manager.cpp | ||
| history_location_manager.h | ||
| history_message.cpp | ||
| history_message.h | ||
| history_service.cpp | ||
| history_service.h | ||
| history_widget.cpp | ||
| history_widget.h | ||