2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fixed opening of chat export progress from history peer menu.

This commit is contained in:
23rd
2025-01-14 19:31:22 +03:00
parent 527be95618
commit 4a22e76bdb

View File

@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "window/window_peer_menu.h"
#include "base/call_delayed.h"
#include "menu/menu_check_item.h"
#include "boxes/share_box.h"
#include "boxes/star_gift_box.h"
@@ -1540,7 +1541,9 @@ void Filler::fillSavedSublistActions() {
} // namespace
void PeerMenuExportChat(not_null<PeerData*> peer) {
Core::App().exportManager().start(peer);
base::call_delayed(st::defaultPopupMenu.showDuration, [=] {
Core::App().exportManager().start(peer);
});
}
void PeerMenuDeleteContact(