2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Clear hidden animated stickers.

This commit is contained in:
John Preston
2019-05-14 12:50:44 +03:00
parent 236513943c
commit 7ee16ba45c
23 changed files with 233 additions and 130 deletions

View File

@@ -109,7 +109,7 @@ public:
class ForwardsPrivacyController
: public EditPrivacyBox::Controller
, private HistoryView::ElementDelegate {
, private HistoryView::SimpleElementDelegate {
public:
using Option = EditPrivacyBox::Option;
using Exception = EditPrivacyBox::Exception;
@@ -132,16 +132,6 @@ private:
using Element = HistoryView::Element;
not_null<HistoryView::ElementDelegate*> delegate();
HistoryView::Context elementContext() override;
std::unique_ptr<Element> elementCreate(
not_null<HistoryMessage*> message) override;
std::unique_ptr<Element> elementCreate(
not_null<HistoryService*> message) override;
bool elementUnderCursor(not_null<const Element*> view) override;
void elementAnimationAutoplayAsync(
not_null<const Element*> element) override;
crl::time elementHighlightTime(
not_null<const Element*> element) override;
bool elementInSelectionMode() override;
static void PaintForwardedTooltip(
Painter &p,