2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Rework hiding 'via @bot' option

Instead of using "hide_via" flag, it sends preview of inline query.
This commit is contained in:
RadRussianRus
2021-08-23 03:04:03 +03:00
parent 2975dec8b9
commit f620f7480b
14 changed files with 150 additions and 21 deletions

View File

@@ -1225,6 +1225,10 @@ void DocumentData::refreshFileReference(const QByteArray &value) {
_videoThumbnail.location.refreshFileReference(value);
}
QString DocumentData::url() const {
return _url;
}
QString DocumentData::filename() const {
return _filename;
}