2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Save privacy in ApiWrap. Handle privacy updates.

This commit is contained in:
John Preston
2017-03-17 20:19:46 +03:00
parent 346daee421
commit fc77b0a51c
9 changed files with 168 additions and 29 deletions

View File

@@ -5060,6 +5060,7 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
case mtpc_updatePrivacy: {
auto &d = update.c_updatePrivacy();
App::api()->handlePrivacyChange(d.vkey.type(), d.vrules);
} break;
case mtpc_updatePinnedDialogs: {