mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed Api requests for statistics with non-default DC.
This commit is contained in:
@@ -1120,6 +1120,10 @@ void ApplyChannelUpdate(
|
||||
channel,
|
||||
update.vnotify_settings());
|
||||
|
||||
if (update.vstats_dc()) {
|
||||
channel->owner().applyStatsDcId(channel, update.vstats_dc()->v);
|
||||
}
|
||||
|
||||
if (const auto sendAs = update.vdefault_send_as()) {
|
||||
session->sendAsPeers().setChosen(channel, peerFromMTP(*sendAs));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user