fedimbed: try 3

This commit is contained in:
Cynthia Foxwell 2025-04-18 18:54:06 -06:00
parent 64623bfa74
commit d43f29f2c5
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -1345,7 +1345,7 @@ async function processUrl(msg, url, spoiler = false, command = false) {
const newContextHandle = contextHandle.split("@")[0];
context = context.replace(contextHandle, "@" + newContextHandle);
}
context.replaceAll(/tw\.(counter-strike\.gay|c7\.pm)/g, "twitter.com");
context = context.replaceAll(/tw\.(counter-strike\.gay|c7\.pm)/g, "twitter.com");
}
}