mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Allow HistoryGroupedMedia cloning.
We use it for local forwarded message creation, it should be main().
This commit is contained in:
parent
656e4869e6
commit
499e3113b9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue