mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
fix: make it build
This commit is contained in:
parent
20358a2f58
commit
96c10be293
4 changed files with 8 additions and 6 deletions
|
@ -7,9 +7,9 @@
|
|||
#include "ayu_infra.h"
|
||||
|
||||
#include "ayu/ayu_lang.h"
|
||||
#include "ayu/ayu_worker.h"
|
||||
#include "ayu/ayu_settings.h"
|
||||
#include "ayu/ayu_ui_settings.h"
|
||||
#include "ayu/ayu_worker.h"
|
||||
#include "ayu/data/ayu_database.h"
|
||||
#include "lang/lang_instance.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@ void initLang() {
|
|||
AyuLanguage::currentInstance()->fetchLanguage(id, baseId);
|
||||
}
|
||||
|
||||
void initFonts() {
|
||||
void initUiSettings() {
|
||||
auto settings = &AyuSettings::getInstance();
|
||||
|
||||
AyuUiSettings::setMonoFont(settings->monoFont);
|
||||
|
@ -44,7 +44,7 @@ void initWorker() {
|
|||
void init() {
|
||||
initLang();
|
||||
initDatabase();
|
||||
initFonts();
|
||||
initUiSettings();
|
||||
initWorker();
|
||||
}
|
||||
|
||||
|
|
|
@ -556,7 +556,9 @@ void resolveUser(ID userId, const QString &username, Main::Session *session, con
|
|||
}
|
||||
|
||||
session->api().request(MTPcontacts_ResolveUsername(
|
||||
MTP_string(normalized)
|
||||
MTP_flags(0),
|
||||
MTP_string(normalized),
|
||||
MTP_string()
|
||||
)).done([=](const MTPcontacts_ResolvedPeer &result)
|
||||
{
|
||||
Expects(result.type() == mtpc_contacts_resolvedPeer);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 669b16f8c4bcfd357d96bf5044789bdea39b1e1c
|
||||
Subproject commit 79243fd193159382c204dde76d87584ed83ad06b
|
|
@ -1 +1 @@
|
|||
Subproject commit 84e9e512d8d04f5a52e0de599e12146cd36c4a25
|
||||
Subproject commit c5e4b86e7d82b8050eac3969c840f2dc30e9dc03
|
Loading…
Add table
Reference in a new issue