HomePhabricator
Diffusion Comm b854d0ac6f80

Save message instantly to redux for both foregrounded and backgrounded app

Description

Save message instantly to redux for both foregrounded and backgrounded app

Summary: This changes our notification handling so that event about received notifications is sent to JS when the app is backgrounded as well.

Test Plan:

  1. Build the app prior to applying this diff.
  2. Background it, send a notif.
  3. Kill keyserver.
  4. Open the app.

Message is not visible in the thread.

  1. Repeat the steps above after applying this diff.

Message is visible in the thread even though keyserver is down.

Reviewers: tomek, atul, bartek

Reviewed By: atul, bartek

Subscribers: ashoat

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

Details

Provenance
marcinAuthored on Mar 27 2023, 6:38 AM
Reviewer
atul
Differential Revision
D7193: Save message instantly to redux for both foregrounded and backgrounded app
Parents
rCOMMc38e70c6d6ee: [web-db] start persisting SQLite content
Branches
Unknown
Tags
Unknown