mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Update API scheme on layer 228.
This commit is contained in:
@@ -116,6 +116,8 @@ void NotifySettings::apply(
|
||||
apply(peerFromMTP(data.vpeer()), settings);
|
||||
}, [&](const MTPDnotifyForumTopic &data) {
|
||||
apply(peerFromMTP(data.vpeer()), data.vtop_msg_id().v, settings);
|
||||
}, [&](const MTPDnotifyCommunity &) {
|
||||
AssertIsDebug();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -149,6 +151,8 @@ void NotifySettings::apply(
|
||||
apply(peerFromInput(data.vpeer()), settings);
|
||||
}, [&](const MTPDinputNotifyForumTopic &data) {
|
||||
apply(peerFromInput(data.vpeer()), data.vtop_msg_id().v, settings);
|
||||
}, [&](const MTPDinputNotifyCommunity &) {
|
||||
AssertIsDebug();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user