mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Allow complex forwarding from Saved to Saved.
This commit is contained in:
parent
654fefaa72
commit
e72b4c6192
1 changed files with 3 additions and 1 deletions
|
@ -1201,7 +1201,9 @@ QPointer<Ui::BoxContent> ShowForwardMessagesBox(
|
|||
navigation
|
||||
](not_null<PeerData*> peer) mutable {
|
||||
const auto content = navigation->parentController()->content();
|
||||
if (peer->isSelf()) {
|
||||
if (peer->isSelf()
|
||||
&& !draft.ids.empty()
|
||||
&& draft.ids.front().peer != peer->id) {
|
||||
const auto history = peer->owner().history(peer);
|
||||
auto resolved = history->resolveForwardDraft(draft);
|
||||
if (!resolved.items.empty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue