Fix #1712
This commit is contained in:
parent
4d914f5c0a
commit
1472f0b141
5 changed files with 36 additions and 4 deletions
9
src/remote/activitypub/renderer/mention.ts
Normal file
9
src/remote/activitypub/renderer/mention.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export default (mention: {
|
||||
uri: string;
|
||||
username: string;
|
||||
host: string;
|
||||
}) => ({
|
||||
type: 'Mention',
|
||||
href: mention.uri,
|
||||
name: `@${mention.username}@${mention.host}`
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue