mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-17 06:59:01 +01:00
10 lines
172 B
TypeScript
10 lines
172 B
TypeScript
|
export default (mention: {
|
||
|
uri: string;
|
||
|
username: string;
|
||
|
host: string;
|
||
|
}) => ({
|
||
|
type: 'Mention',
|
||
|
href: mention.uri,
|
||
|
name: `@${mention.username}@${mention.host}`
|
||
|
});
|