mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Allow HistoryGroupedMedia cloning.
We use it for local forwarded message creation, it should be main().
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
std::unique_ptr<HistoryMedia> clone(
|
||||
not_null<HistoryItem*> newParent,
|
||||
not_null<HistoryItem*> realParent) const override {
|
||||
Unexpected("Clone HistoryGroupedMedia.");
|
||||
return main()->clone(newParent, realParent);
|
||||
}
|
||||
|
||||
void initDimensions() override;
|
||||
|
||||
Reference in New Issue
Block a user