HomePhabricator
Diffusion Comm e0b25fd939a9

[keyserver][lib] Add sidebarCreation to keyserver message creation endpoints

Description

[keyserver][lib] Add sidebarCreation to keyserver message creation endpoints

Summary:
This makes it possible for a client to set this flag in MessageData to disable notifs.

Depends on D6798

Test Plan:
I tested this whole stack as follows:

  1. Create a sidebar by sending a text message on web
  2. Create a sidebar by sending a media message on web
  3. Create a sidebar by sending a text message on native
  4. Create a sidebar by sending a media message on native

In all of these cases, I confirmed that only one notif was delivered (the notif for the text/media message was skipped)

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Feb 19 2023, 2:10 PM
Reviewer
atul
Differential Revision
D6799: [keyserver][lib] Add sidebarCreation to keyserver message creation endpoints
Parents
rCOMMb0b5ac75c171: [lib] Disable text/media notif when starting sidebar
Branches
Unknown
Tags
Unknown