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)
Wed, Nov 20, 4:32 PM
Unknown Object (File)
Fri, Nov 8, 6:36 AM
Unknown Object (File)
Fri, Nov 8, 4:56 AM
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)
Oct 13 2024, 7:13 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
Lint Not Applicable
Unit
Tests Not Applicable