mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
fast dialogs, emoji pan etc done
This commit is contained in:
@@ -936,6 +936,9 @@ struct DocumentData {
|
||||
if (loader->done()) {
|
||||
location = FileLocation(mtpToStorageType(loader->fileType()), loader->fileName());
|
||||
data = loader->bytes();
|
||||
if (sticker() && !loader->imagePixmap().isNull()) {
|
||||
sticker()->img = ImagePtr(data, loader->imageFormat(), loader->imagePixmap());
|
||||
}
|
||||
}
|
||||
loader->deleteLater();
|
||||
loader->rpcInvalidate();
|
||||
|
Reference in New Issue
Block a user