HomePhabricator
Diffusion Comm 6c3bc221b254

[keyserver] Only set sidebarCreation flag for the first message in the sidebar

Description

[keyserver] Only set sidebarCreation flag for the first message in the sidebar

Summary:
When I say "first message" in the commit title, I really mean the third message, as each sidebar starts with a SIDEBAR_SOURCE and then a CREATE_SIDEBAR.

Check out the code comment for an explanation as to why we're doing this.

Test Plan: Force sidebarCreation to true on the client for all text messages, and confirm that it is ignored when invalid

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D6932

Details

Provenance
ashoatAuthored on Feb 27 2023, 4:09 PM
Reviewer
atul
Differential Revision
D6932: [keyserver] Only set sidebarCreation flag for the first message in the sidebar
Parents
rCOMMa910cf9ae1af: [native] Fetch and parse feature flags response
Branches
Unknown
Tags
Unknown