Page MenuHomePhabricator

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

Authored by ashoat on Oct 16 2024, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 2:38 PM
Unknown Object (File)
Fri, Nov 8, 3:27 AM
Unknown Object (File)
Fri, Nov 8, 12:23 AM
Unknown Object (File)
Thu, Nov 7, 2:26 AM
Unknown Object (File)
Fri, Nov 1, 11:10 PM
Unknown Object (File)
Sun, Oct 27, 5:13 AM
Unknown Object (File)
Sat, Oct 26, 9:10 PM
Unknown Object (File)
Thu, Oct 24, 7:40 PM
Subscribers

Details

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)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable