Page MenuHomePhabricator

[lib] Get rid of effect in useUpdateRelationships
ClosedPublic

Authored by ashoat on Sep 26 2024, 3:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 7:21 PM
Unknown Object (File)
Wed, Dec 18, 7:21 PM
Unknown Object (File)
Wed, Dec 18, 7:21 PM
Unknown Object (File)
Wed, Dec 18, 7:21 PM
Unknown Object (File)
Wed, Dec 18, 7:21 PM
Unknown Object (File)
Nov 16 2024, 2:11 AM
Unknown Object (File)
Nov 16 2024, 12:48 AM
Unknown Object (File)
Nov 15 2024, 11:00 PM
Subscribers

Details

Summary

Kamil's work in D13486 lets us greatly simplify this code.

Depends on D13489

Test Plan

I tested with two devices: one iOS simulator, one physical Android. I followed the steps below twice, with iOS / Android alternating roles:

  1. User A and user B create accounts
  2. User B backgrounds the app
  3. User A searches for user B and sends them a friend request
  4. Confirm notifs are received. Confirm chat shows up as DM in UI
  5. User A backgrounds the app
  6. User B accepts the friend request
  7. Confirm notifs received

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 30 2024, 5:33 AM