mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fixed crash from short info box for non-users.
This commit is contained in:
parent
9e83562bf4
commit
1a759cc4e7
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void ProcessFullPhoto(
|
|||
) | rpl::map([=] {
|
||||
const auto user = peer->asUser();
|
||||
const auto username = peer->username();
|
||||
const auto channelId = user->personalChannelId();
|
||||
const auto channelId = user ? user->personalChannelId() : 0;
|
||||
const auto channel = channelId
|
||||
? user->owner().channel(channelId).get()
|
||||
: nullptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue