Fix crash in login.

This commit is contained in:
John Preston 2019-03-29 19:22:56 +04:00
parent ce2204e120
commit b353af00c9
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ void PeerData::updateUserpic(
return StorageImageLocation(
StorageFileLocation(
dcId,
session().userId(),
isSelf() ? peerToUser(id) : 0,
MTP_inputPeerPhotoFileLocation(
MTP_flags(0),
input,