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

Scroll following the inline bot keyboard when message is edited.

This commit is contained in:
John Preston
2016-04-08 13:20:10 +04:00
parent 9af094e278
commit 35d5089f48
12 changed files with 232 additions and 177 deletions

View File

@@ -1228,7 +1228,7 @@ inline WebPageType toWebPageType(const QString &type) {
}
struct WebPageData {
WebPageData(const WebPageId &id, WebPageType type = WebPageArticle, const QString &url = QString(), const QString &displayUrl = QString(), const QString &siteName = QString(), const QString &title = QString(), const QString &description = QString(), PhotoData *photo = 0, DocumentData *doc = 0, int32 duration = 0, const QString &author = QString(), int32 pendingTill = -1);
WebPageData(const WebPageId &id, WebPageType type = WebPageArticle, const QString &url = QString(), const QString &displayUrl = QString(), const QString &siteName = QString(), const QString &title = QString(), const QString &description = QString(), DocumentData *doc = nullptr, PhotoData *photo = nullptr, int32 duration = 0, const QString &author = QString(), int32 pendingTill = -1);
void forget() {
if (photo) photo->forget();
@@ -1240,7 +1240,7 @@ struct WebPageData {
int32 duration;
QString author;
PhotoData *photo;
DocumentData *doc;
DocumentData *document;
int32 pendingTill;
};