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) {