2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Moved public var indicating stickers presence to private in PhotoData.

This commit is contained in:
23rd
2020-10-30 03:07:59 +03:00
parent 1459e6f38e
commit 391ec8ac28
6 changed files with 20 additions and 9 deletions

View File

@@ -2291,7 +2291,7 @@ not_null<PhotoData*> Session::photo(
const QByteArray &fileReference,
TimeId date,
int32 dc,
bool hasSticker,
bool hasStickers,
const QByteArray &inlineThumbnailBytes,
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
@@ -2305,7 +2305,7 @@ not_null<PhotoData*> Session::photo(
fileReference,
date,
dc,
hasSticker,
hasStickers,
inlineThumbnailBytes,
small,
thumbnail,
@@ -2466,7 +2466,7 @@ void Session::photoApplyFields(
const QByteArray &fileReference,
TimeId date,
int32 dc,
bool hasSticker,
bool hasStickers,
const QByteArray &inlineThumbnailBytes,
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
@@ -2478,7 +2478,7 @@ void Session::photoApplyFields(
}
photo->setRemoteLocation(dc, access, fileReference);
photo->date = date;
photo->hasSticker = hasSticker;
photo->setHasAttachedStickers(hasStickers);
photo->updateImages(
inlineThumbnailBytes,
small,