Page MenuHomePhabricator

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

Authored by ashoat on Wed, Oct 16, 8:56 PM.
Tags
None
Referenced Files
F2994241: D13738.id.diff
Thu, Oct 17, 7:22 AM
F2994239: D13738.id45240.diff
Thu, Oct 17, 7:20 AM
F2992823: D13738.diff
Thu, Oct 17, 5:16 AM
F2992743: D13738.id.diff
Thu, Oct 17, 4:45 AM
F2992737: D13738.diff
Thu, Oct 17, 4:44 AM
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