Page MenuHomePhabricator

[lib] Split `UpdateRelationshipMessageInfo` into `Update[Traditional/Farcaster]RelationshipMessageInfo`
ClosedPublic

Authored by atul on Fri, Apr 12, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 1:24 AM
Unknown Object (File)
Sat, Apr 27, 4:50 PM
Unknown Object (File)
Sat, Apr 27, 12:23 PM
Unknown Object (File)
Sat, Apr 27, 7:19 AM
Unknown Object (File)
Fri, Apr 26, 8:32 AM
Unknown Object (File)
Sun, Apr 21, 4:13 AM
Unknown Object (File)
Thu, Apr 18, 7:12 PM
Unknown Object (File)
Thu, Apr 18, 4:44 PM
Subscribers

Details

Summary

Similar to previous diffs in stack, splitting the type to support farcaster operation.

Made necessary changes to update-relationship-message-spec as well.


Depends on D11642

Test Plan

Flow for now, will be tested implicitly by subsequent diffs where these messages are actually created/persisted/etc.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Fri, Apr 12, 12:03 PM
tomek added inline comments.
lib/shared/messages/update-relationship-message-spec.js
155 ↗(On Diff #39086)

Is there a const we can use here?

219 ↗(On Diff #39086)

We probably have to introduce a shim for this new operation type

This revision is now accepted and ready to land.Mon, Apr 15, 1:24 AM
lib/shared/messages/update-relationship-message-spec.js
155 ↗(On Diff #39086)

There's not at the moment, have a diff locally where I replace this with a constant value.

Definitely agree that hardcoding this string is not ideal and error-prone.

lib/shared/messages/update-relationship-message-spec.js
219 ↗(On Diff #39086)

We send UNSUPPORTED message for farcaster_mutual operation:

158a3d.png (704×876 px, 112 KB)

This revision was landed with ongoing or failed builds.Thu, Apr 18, 11:48 AM
This revision was automatically updated to reflect the committed changes.