Fix OOM crash on wrong attached stickers hash.

Fixes #25495.
This commit is contained in:
John Preston 2022-12-29 17:11:24 +04:00
parent ef5e39f680
commit 1ef0791bc6
1 changed files with 2 additions and 1 deletions

View File

@ -926,7 +926,8 @@ void Stickers::specialSetReceived(
LOG(("API Error: "
"received recent attached stickers hash %1 "
"while counted hash is %2"
).arg(hash, counted));
).arg(hash
).arg(counted));
}
session().local().writeRecentMasks();
} break;