Skip to content

Commit

Permalink
fix(devvit): prefer xcancel.com over twitter.com for bot comments
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuallyunknown committed Jan 27, 2025
1 parent c3cfbcd commit 930f610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devvit/src/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getSourceLine(source: Source) {
const domain = domains?.at(0) ?? null;

const sourceName = handle
? `${name} ([@${handle}](https://twitter.com/${handle}))`
? `${name} ([@${handle}](https://xcancel.com/${handle}))`
: domain
? `${name} ([${domain}](https://${domain}))`
: name;
Expand Down

0 comments on commit 930f610

Please sign in to comment.