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:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user