fedimbed: oops redundancy

This commit is contained in:
Cynthia Foxwell 2025-04-18 18:25:53 -06:00
parent 3e574fd637
commit e3a0eca03f
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -1337,7 +1337,6 @@ async function processUrl(msg, url, spoiler = false, command = false) {
if (contextHandle) {
const newContextHandle = contextHandle.split("@")[0];
context = context.replace(contextHandle, "@" + newContextHandle);
context = context.replace(/: (.+?)$/, `: [$1](${contextUrl})`);
}
}
}