mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 02:07:54 +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