Page MenuHomePhabricator

[lib] Delete extraneous invariant and dependency from relationship change callback
ClosedPublic

Authored by tomek on Apr 14 2022, 11:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 4:11 AM
Unknown Object (File)
Tue, Nov 5, 4:11 AM
Unknown Object (File)
Tue, Nov 5, 4:10 AM
Unknown Object (File)
Tue, Nov 5, 4:04 AM
Unknown Object (File)
Sun, Oct 13, 7:13 AM
Unknown Object (File)
Oct 6 2024, 9:00 AM
Unknown Object (File)
Oct 6 2024, 8:36 AM
Unknown Object (File)
Sep 27 2024, 1:09 AM

Details

Summary

This invariant isn't necessary, because the value isn't used in the callback. Also, the dependency on userID is still present, but indirectly through updateRelationship function.
Depends on D3732

Test Plan

Send friend request by using relationship prompt and check if the state was updated.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage