This commit is contained in:
syuilo
2018-04-02 04:15:27 +09:00
parent e8bde94e5b
commit cd2542e0fd
99 changed files with 111 additions and 111 deletions

View File

@@ -0,0 +1,8 @@
import config from '../../../conf';
import { IRemoteUser } from '../../../models/user';
export default ({ username }, followee: IRemoteUser) => ({
type: 'Follow',
actor: `${config.url}/@${username}`,
object: followee.account.uri
});