mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Refresh last post on proxy promotion refresh.
This commit is contained in:
@@ -224,7 +224,11 @@ void ApiWrap::proxyPromotionDone(const MTPhelp_ProxyData &proxy) {
|
||||
App::feedChats(data.vchats);
|
||||
App::feedUsers(data.vusers);
|
||||
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(
|
||||
|
Reference in New Issue
Block a user