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

Update API scheme on laydr 160.

This commit is contained in:
John Preston
2023-07-03 11:40:29 +04:00
parent f0ab6e5690
commit a79deb89ce
5 changed files with 9 additions and 5 deletions

View File

@@ -4258,7 +4258,8 @@ void Session::serviceNotification(
MTPstring(), // bot_inline_placeholder
MTPstring(), // lang_code
MTPEmojiStatus(),
MTPVector<MTPUsername>()));
MTPVector<MTPUsername>(),
MTPint())); // stories_max_id
}
const auto history = this->history(PeerData::kServiceNotificationsId);
if (!history->folderKnown()) {

View File

@@ -610,7 +610,7 @@ void Stories::finalizeResolve(FullStoryId id) {
void Stories::applyDeleted(FullStoryId id) {
applyRemovedFromActive(id);
_deleted.emplace(id).second;
_deleted.emplace(id);
const auto i = _stories.find(id.peer);
if (i != end(_stories)) {
const auto j = i->second.find(id.story);