Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3380256
D11653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
946 B
Referenced Files
None
Subscribers
None
D11653.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
@@ -142,6 +142,18 @@
targetID: content.targetID,
operation: content.operation,
};
+ } else if (content.operation === 'farcaster_mutual') {
+ return {
+ type: messageTypes.UPDATE_RELATIONSHIP,
+ id: clientDBMessageInfo.id,
+ threadID: clientDBMessageInfo.thread,
+ time: parseInt(clientDBMessageInfo.time),
+ creatorID: clientDBMessageInfo.user,
+ targetID: content.targetID,
+ operation: content.operation,
+ creatorFID: content.creatorFID,
+ targetFID: content.targetFID,
+ };
} else {
return {
type: messageTypes.UPDATE_RELATIONSHIP,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 10:32 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595037
Default Alt Text
D11653.diff (946 B)
Attached To
Mode
D11653: [lib] Update `UPDATE_RELATIONSHIP.rawMessageInfoFromClientDB` to handle `farcaster_mutual`
Attached
Detach File
Event Timeline
Log In to Comment