2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 07:56:03 +00:00

Send scheduled paid reactions on quit.

This commit is contained in:
John Preston
2024-08-09 15:58:47 +02:00
parent 92f70a0ebb
commit ba4c521d7a
3 changed files with 74 additions and 28 deletions

View File

@@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_forum.h"
#include "data/data_photo.h"
#include "data/data_document.h"
#include "data/data_message_reactions.h"
#include "data/data_session.h"
#include "data/data_stories.h"
#include "data/data_user.h"
@@ -1740,6 +1741,9 @@ bool Application::readyToQuit() {
if (session->data().stories().isQuitPrevent()) {
prevented = true;
}
if (session->data().reactions().isQuitPrevent()) {
prevented = true;
}
}
}
}