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

Update API scheme to layer 100.

This commit is contained in:
John Preston
2019-05-20 16:57:25 +02:00
parent 68fb9b8b67
commit c4aac5fa0e
26 changed files with 325 additions and 169 deletions

View File

@@ -102,10 +102,10 @@ void SetupPrivacy(not_null<Ui::VerticalLayout*> container) {
key
) | rpl::map([=](const Privacy &value) {
auto add = QStringList();
if (const auto never = value.never.size()) {
if (const auto never = value.neverUsers.size()) { // #TODO privacy
add.push_back("-" + QString::number(never));
}
if (const auto always = value.always.size()) {
if (const auto always = value.alwaysUsers.size()) {
add.push_back("+" + QString::number(always));
}
if (!add.isEmpty()) {