forked from mirrors/misskey
Use id in uri instead of username
This commit is contained in:
@@ -3,6 +3,6 @@ import { IRemoteUser, ILocalUser } from '../../../models/user';
|
||||
|
||||
export default (follower: ILocalUser, followee: IRemoteUser) => ({
|
||||
type: 'Follow',
|
||||
actor: `${config.url}/@${follower.username}`,
|
||||
actor: `${config.url}/users/${follower._id}`,
|
||||
object: followee.uri
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user