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

History::createItem returns not_null.

This commit is contained in:
John Preston
2021-11-05 22:44:28 +04:00
parent 0e6e263a7b
commit af93d7cc97
3 changed files with 7 additions and 13 deletions

View File

@@ -2213,7 +2213,7 @@ HistoryItem *Session::addNewMessage(
data,
localFlags,
type);
if (result && type == NewMessageType::Unread) {
if (type == NewMessageType::Unread) {
CheckForSwitchInlineButton(result);
}
return result;