Skip to content

Commit

Permalink
local user
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Oct 18, 2023
1 parent 2d260fa commit 2c3cb0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ListItem/Common.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ export function PersonMetaLine({ creator, by = false, sx }) {

console.log("creator", actorInstanceBaseUrl, fediverseUserLink);

const localUserLink = `https://${baseUrl}/u/${creator.name}`;
let localUserLink = `https://${baseUrl}/u/${creator.name}`;
if (baseUrl != actorInstanceBaseUrl) localUserLink = `${localUserLink}@${actorInstanceBaseUrl}`;

return (
<Box
Expand Down

0 comments on commit 2c3cb0c

Please sign in to comment.