2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Refresh file references when sending stickers.

This commit is contained in:
John Preston
2018-07-16 20:31:07 +03:00
parent 557d363d02
commit c913c77fef
14 changed files with 218 additions and 131 deletions

View File

@@ -1055,6 +1055,14 @@ MTPInputDocument DocumentData::mtpInput() const {
return MTP_inputDocumentEmpty();
}
QByteArray DocumentData::fileReference() const {
return _fileReference;
}
void DocumentData::refreshFileReference(const QByteArray &value) {
_fileReference = value;
}
QString DocumentData::filename() const {
return _filename;
}