2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Mark stories as read.

This commit is contained in:
John Preston
2023-05-29 19:09:36 +04:00
parent f323370752
commit f814e401b9
7 changed files with 158 additions and 27 deletions

View File

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