mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed context menu for gift service actions.
This commit is contained in:
@@ -189,10 +189,6 @@ void MediaGift::clickHandlerPressedChanged(
|
||||
}
|
||||
}
|
||||
|
||||
DocumentData *MediaGift::getDocument() const {
|
||||
return _sticker ? _sticker->document() : nullptr;
|
||||
}
|
||||
|
||||
void MediaGift::stickerClearLoopPlayed() {
|
||||
if (_sticker) {
|
||||
_sticker->stickerClearLoopPlayed();
|
||||
|
||||
@@ -41,8 +41,6 @@ public:
|
||||
const ClickHandlerPtr &handler,
|
||||
bool pressed) override;
|
||||
|
||||
DocumentData *getDocument() const override;
|
||||
|
||||
void stickerClearLoopPlayed() override;
|
||||
std::unique_ptr<Lottie::SinglePlayer> stickerTakeLottie(
|
||||
not_null<DocumentData*> data,
|
||||
|
||||
Reference in New Issue
Block a user