HomePhabricator
Diffusion Comm fbaa1e172e5f

[lib] Use setLocalFID when updating local FID to match identity

Description

[lib] Use setLocalFID when updating local FID to match identity

Summary:
unlinkFID was wrong here because:

  1. We don't need to contact identity to update an FID we got from identity
  2. If the FID is non-null, we end up erasing it

Instead we should just update the local FID to match identity.

Depends on D13737

Test Plan: Careful analysis of this case (it happens when identity FID doesn't match local FID)

Reviewers: will

Reviewed By: will

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Wed, Oct 16, 8:29 PM
Reviewer
will
Differential Revision
D13738: [lib] Use setLocalFID when updating local FID to match identity
Parents
rCOMM8086a05f54b8: [lib] Invalidate UserIdentityCache when changing FID
Branches
Unknown
Tags
Unknown