mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Take main DC and phone prefix from active account.
This commit is contained in:
@@ -236,7 +236,7 @@ rpl::producer<> Account::mtpNewSessionCreated() const {
|
||||
return _mtpNewSessionCreated.events();
|
||||
}
|
||||
|
||||
void Account::setLegacyMtpMainDcId(MTP::DcId mainDcId) {
|
||||
void Account::setMtpMainDcId(MTP::DcId mainDcId) {
|
||||
Expects(!_mtp);
|
||||
|
||||
_mtpFields.mainDcId = mainDcId;
|
||||
|
Reference in New Issue
Block a user