Implement announce
And bug fixes
This commit is contained in:
parent
0004944708
commit
6e34e77372
17 changed files with 164 additions and 300 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import config from '../../../config';
|
||||
import { ILocalUser } from '../../../models/user';
|
||||
|
||||
export default (user, note) => {
|
||||
export default (user: ILocalUser, note) => {
|
||||
return {
|
||||
type: 'Like',
|
||||
actor: `${config.url}/@${user.username}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue