slack status without the slack status.zzstoatzz.io
hatk statusphere
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: prioritize status text over emoji name in og description

zzstoatzz 18dbda98 64a6cd14

+2 -3
+2 -3
site/functions/status/[did]/[rkey].js
··· 68 68 function generateOgHtml(status, did, rkey, handle) { 69 69 const emojiDisplay = getEmojiDisplay(status.emoji); 70 70 const title = `@${handle}'s status`; 71 - const description = status.text 72 - ? `${emojiDisplay} ${status.text}` 73 - : emojiDisplay; 71 + // prioritize user's text, fall back to emoji name if no text 72 + const description = status.text || emojiDisplay; 74 73 const url = `${SITE_URL}/status/${did}/${rkey}`; 75 74 const imageUrl = getOgImageUrl(status.emoji); 76 75