HomePhabricator
Diffusion Comm 49fd107fb7ce

Add method to check for missing olm sessions for notifs and use it to send…

Description

Add method to check for missing olm sessions for notifs and use it to send relevant request

Summary: This differential introduces methods on the keyeserver to check if olm sessions for notifs is missing and sends relevant request to client in case it is.

Test Plan:

  1. Log out.
  2. Comment the code on native in log in panel that establishes olm session for notifs.
  3. Add console.log in the kesyerver to print if it is sending request for initial notifications encrypted message.
  4. Log in. Examine the logs.

Reviewers: atul, bartek, tomek, ashoat

Reviewed By: atul, tomek, ashoat

Subscribers: ashoat

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