Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3380266
D11651.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
811 B
Referenced Files
None
Subscribers
None
D11651.diff
View Options
diff --git a/lib/shared/messages/update-relationship-message-spec.js b/lib/shared/messages/update-relationship-message-spec.js
--- a/lib/shared/messages/update-relationship-message-spec.js
+++ b/lib/shared/messages/update-relationship-message-spec.js
@@ -62,6 +62,17 @@
| UpdateRelationshipMessageData
| RawUpdateRelationshipMessageInfo,
): string {
+ if (
+ data.type === messageTypes.UPDATE_RELATIONSHIP &&
+ data.operation === 'farcaster_mutual'
+ ) {
+ return JSON.stringify({
+ operation: data.operation,
+ targetID: data.targetID,
+ creatorFID: data.creatorFID,
+ targetFID: data.targetFID,
+ });
+ }
return JSON.stringify({
operation: data.operation,
targetID: data.targetID,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 10:34 PM (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595047
Default Alt Text
D11651.diff (811 B)
Attached To
Mode
D11651: [lib] Include `[creator/target]FID` in `messageContentForServerDB` when update relationship op is `farcaster_mutual`
Attached
Detach File
Event Timeline
Log In to Comment