mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Allow MTP_flags(0) and MTP_flags(single_flag).
This commit is contained in:
@@ -617,8 +617,7 @@ void Messenger::uploadProfilePhoto(const QImage &tosend, const PeerId &peerId) {
|
||||
|
||||
PhotoId id = rand_value<PhotoId>();
|
||||
|
||||
MTPDphoto::Flags photoFlags = 0;
|
||||
auto photo = MTP_photo(MTP_flags(photoFlags), MTP_long(id), MTP_long(0), MTP_int(unixtime()), MTP_vector<MTPPhotoSize>(photoSizes));
|
||||
auto photo = MTP_photo(MTP_flags(0), MTP_long(id), MTP_long(0), MTP_int(unixtime()), MTP_vector<MTPPhotoSize>(photoSizes));
|
||||
|
||||
QString file, filename;
|
||||
int32 filesize = 0;
|
||||
|
Reference in New Issue
Block a user