Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subs: Update sub object with additional properties in update_* functions. #18910

Merged
merged 3 commits into from
Jun 21, 2021

Conversation

ganpa3
Copy link
Collaborator

@ganpa3 ganpa3 commented Jun 18, 2021

All.messages.-.Zulip.Dev.-.Zulip.-.Google.Chrome.2021-06-18.20-10-46.mp4

@zulipbot
Copy link
Member

Hello @zulip/server-settings members, this pull request was labeled with the "area: settings UI" label, so you may want to check it out!

@ganpa3 ganpa3 changed the title subs: Update sub object with additional properties in update_* functions. [WIP] subs: Update sub object with additional properties in update_* functions. Jun 18, 2021
@ganpa3 ganpa3 force-pushed the update_subs_objects branch 2 times, most recently from 0a0fc8e to 51c7078 Compare June 19, 2021 04:10
@ganpa3 ganpa3 changed the title [WIP] subs: Update sub object with additional properties in update_* functions. subs: Update sub object with additional properties in update_* functions. Jun 19, 2021
…acy_policy.

The passed `stream_privacy_policy_values` object
doesn't contain the `everyone` property.
…tions.

Subsequent function calls require additional properties present
after calling `get_sub_for_settings` on the original sub object.

Fixes zulip#18602
@timabbott timabbott merged commit 777eeb6 into zulip:master Jun 21, 2021
@timabbott
Copy link
Sponsor Member

Merged, thanks @ganpa3!

@ganpa3 ganpa3 deleted the update_subs_objects branch June 21, 2021 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants