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

Better track paused story state.

This commit is contained in:
John Preston
2023-05-30 17:57:11 +04:00
parent b8cf00a0b2
commit 8b22f9dcac
14 changed files with 149 additions and 61 deletions

View File

@@ -588,7 +588,7 @@ void Stories::loadAround(FullStoryId id) {
}
}
void Stories::markAsRead(FullStoryId id) {
void Stories::markAsRead(FullStoryId id, bool viewed) {
const auto i = ranges::find(_all, id.peer, [](const StoriesList &list) {
return list.user->id;
});