Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3402509
D11653.id39091.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.id39091.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
Tue, Dec 3, 5:03 PM (4 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2612464
Default Alt Text
D11653.id39091.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