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:
@@ -2213,7 +2213,7 @@ HistoryItem *Session::addNewMessage(
|
||||
data,
|
||||
localFlags,
|
||||
type);
|
||||
if (result && type == NewMessageType::Unread) {
|
||||
if (type == NewMessageType::Unread) {
|
||||
CheckForSwitchInlineButton(result);
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user