mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed opening of chat export progress from history peer menu.
This commit is contained in:
parent
527be95618
commit
4a22e76bdb
1 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#include "window/window_peer_menu.h"
|
#include "window/window_peer_menu.h"
|
||||||
|
|
||||||
|
#include "base/call_delayed.h"
|
||||||
#include "menu/menu_check_item.h"
|
#include "menu/menu_check_item.h"
|
||||||
#include "boxes/share_box.h"
|
#include "boxes/share_box.h"
|
||||||
#include "boxes/star_gift_box.h"
|
#include "boxes/star_gift_box.h"
|
||||||
|
@ -1540,7 +1541,9 @@ void Filler::fillSavedSublistActions() {
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
void PeerMenuExportChat(not_null<PeerData*> peer) {
|
void PeerMenuExportChat(not_null<PeerData*> peer) {
|
||||||
Core::App().exportManager().start(peer);
|
base::call_delayed(st::defaultPopupMenu.showDuration, [=] {
|
||||||
|
Core::App().exportManager().start(peer);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void PeerMenuDeleteContact(
|
void PeerMenuDeleteContact(
|
||||||
|
|
Loading…
Add table
Reference in a new issue