mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-25 15:03:03 +02:00
fix: forward box crash
Co-authored-by: mmlo <eu@memelo.dev>
This commit is contained in:
parent
aafdac6da4
commit
f56b5ea03e
1 changed files with 1 additions and 1 deletions
|
@ -2952,7 +2952,7 @@ QPointer<Ui::BoxContent> ShowForwardMessagesBox(
|
|||
const auto items = history->owner().idsToItems(msgIds);
|
||||
auto ayuForwarding = AyuForward::isAyuForwardNeeded(items) || AyuForward::isFullAyuForwardNeeded(items.front());
|
||||
|
||||
if (!state->submit || ayuForwarding && successCallback) {
|
||||
if ((!state->submit || ayuForwarding) && successCallback) {
|
||||
successCallback();
|
||||
}
|
||||
// AyuGram-changed
|
||||
|
|
Loading…
Add table
Reference in a new issue