mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Refresh last post on proxy promotion refresh.
This commit is contained in:
parent
37bf9ffcff
commit
f1816815a9
1 changed files with 5 additions and 1 deletions
|
@ -224,7 +224,11 @@ void ApiWrap::proxyPromotionDone(const MTPhelp_ProxyData &proxy) {
|
||||||
App::feedChats(data.vchats);
|
App::feedChats(data.vchats);
|
||||||
App::feedUsers(data.vusers);
|
App::feedUsers(data.vusers);
|
||||||
const auto peerId = peerFromMTP(data.vpeer);
|
const auto peerId = peerFromMTP(data.vpeer);
|
||||||
_session->data().setProxyPromoted(App::peer(peerId));
|
const auto peer = App::peer(peerId);
|
||||||
|
_session->data().setProxyPromoted(peer);
|
||||||
|
if (const auto history = App::historyLoaded(peer)) {
|
||||||
|
_session->api().requestDialogEntry(history);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApiWrap::applyUpdates(
|
void ApiWrap::applyUpdates(
|
||||||
|
|
Loading…
Add table
Reference in a new issue