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)
Sun, Jan 5, 6:03 AM
Unknown Object (File)
Wed, Jan 1, 1:02 AM
Unknown Object (File)
Wed, Jan 1, 1:02 AM
Unknown Object (File)
Wed, Jan 1, 1:01 AM
Unknown Object (File)
Wed, Jan 1, 12:58 AM
Unknown Object (File)
Wed, Dec 25, 12:14 AM
Unknown Object (File)
Wed, Dec 25, 12:14 AM
Unknown Object (File)
Thu, Dec 19, 6:05 PM

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