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:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user