fedimbed: hardcode bluesky domain check into slash command logic

This commit is contained in:
Cynthia Foxwell 2025-02-11 16:11:21 -07:00
parent 5922f19857
commit 0d78c16e69
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -1449,7 +1449,7 @@ fedimbedCommand.callback = async function (interaction) {
}
}
if (hasService) {
if (hasService || BSKY_DOMAINS.includes(urlObj.hostname.toLowerCase())) {
try {
const {response} = await processUrl(interaction, url, spoiler, true);