2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 05:55:08 +00:00

Use chat info database and not use message database in tdlib

This commit is contained in:
Arseniy Lartsev
2020-10-08 00:54:27 +02:00
parent 415ac53b1e
commit a7fbf11352

View File

@@ -372,7 +372,7 @@ void PurpleTdClient::sendTdlibParameters()
parameters->database_directory_ = getBaseDatabasePath() + G_DIR_SEPARATOR_S + username;
purple_debug_misc(config::pluginId, "Account %s using database directory %s\n",
username, parameters->database_directory_.c_str());
parameters->use_message_database_ = true;
parameters->use_chat_info_database_ = true;
parameters->use_secret_chats_ = purple_account_get_bool(m_account, AccountOptions::EnableSecretChats,
AccountOptions::EnableSecretChatsDefault);
parameters->api_id_ = config::api_id;