Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3169419
D13856.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
726 B
Referenced Files
None
Subscribers
None
D13856.diff
View Options
diff --git a/keyserver/src/responders/farcaster-webhook-responders.js b/keyserver/src/responders/farcaster-webhook-responders.js
--- a/keyserver/src/responders/farcaster-webhook-responders.js
+++ b/keyserver/src/responders/farcaster-webhook-responders.js
@@ -59,9 +59,13 @@
return null;
}
- const castAuthor = sidebarCast.author.username;
+ const {
+ author: { username: castAuthor },
+ text: castText,
+ } = sidebarCast;
+
const channelText = channelName ? ` in channel ${channelName}` : '';
- const messageText = `${castAuthor} said "${sidebarCast.text}"${channelText}`;
+ const messageText = `${castAuthor} said "${castText}"${channelText}`;
let viewer = commbotViewer;
if (taggerUserID) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 11:04 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2440891
Default Alt Text
D13856.diff (726 B)
Attached To
Mode
D13856: [keyserver] deconstruct sidebarCast fields
Attached
Detach File
Event Timeline
Log In to Comment