mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Support "premiums and ..." privacy editing.
This commit is contained in:
@@ -392,8 +392,9 @@ void SetupBirthday(
|
||||
key
|
||||
) | rpl::map([=](const Api::UserPrivacy::Rule &value) {
|
||||
return (value.option == Api::UserPrivacy::Option::Contacts)
|
||||
&& value.always.empty()
|
||||
&& value.never.empty();
|
||||
&& value.always.peers.empty()
|
||||
&& !value.always.premiums
|
||||
&& value.never.peers.empty();
|
||||
}) | rpl::distinct_until_changed();
|
||||
|
||||
Ui::AddSkip(container);
|
||||
|
Reference in New Issue
Block a user