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

Beta version 1.8.6: Improve theme preview.

This commit is contained in:
John Preston
2019-09-09 16:13:16 +03:00
parent 61c7bf2f5e
commit 90b955534a
6 changed files with 42 additions and 4 deletions

View File

@@ -41,7 +41,8 @@ CloudTheme CloudTheme::Parse(
(document
? session->data().processDocument(*document)->id
: DocumentId(0)),
data.is_creator() ? session->userId() : UserId(0)
data.is_creator() ? session->userId() : UserId(0),
data.vinstalls_count().v
};
}

View File

@@ -24,6 +24,7 @@ struct CloudTheme {
QString title;
DocumentId documentId = 0;
UserId createdBy = 0;
int usersCount = 0;
static CloudTheme Parse(
not_null<Main::Session*> session,