diff --git a/Telegram/SourceFiles/dialogs/dialogs_row.cpp b/Telegram/SourceFiles/dialogs/dialogs_row.cpp index a5b01b56b3219f..9537d358f8f86b 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_row.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_row.cpp @@ -574,8 +574,10 @@ void Row::paintUserpic( context.now); } else { - const auto lastMessageFrom = history->lastMessage()->from(); - lastMessageFrom->paintUserpic(p, userpicCornerView(), context.st->photoSize - skip.x() - size, context.st->photoSize - skip.y() - size, size); + if (history->lastMessage()->from()) { + const auto lastMessageFrom = history->lastMessage()->from(); + lastMessageFrom->paintUserpic(p, userpicCornerView(), context.st->photoSize - skip.x() - size, context.st->photoSize - skip.y() - size, size); + } } p.translate(-context.st->padding.left(), -context.st->padding.top()); p.setOpacity(1.); diff --git a/Telegram/build/setup.iss b/Telegram/build/setup.iss index e6768efad0e0f0..e54b60d76470ef 100644 --- a/Telegram/build/setup.iss +++ b/Telegram/build/setup.iss @@ -8,7 +8,7 @@ #define MyAppId "4356CE01-4137-4C55-9F8B-FB4EEBB6EC0C" #define CurrentYear GetDateTimeString('yyyy','','') #define MyBuildTarget "win64" -#define MyAppVersionFull "5.0.1-12052024" +#define MyAppVersionFull "5.0.1-13052024" [Setup] ; NOTE: The value of AppId uniquely identifies this application.