mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-24 13:03:39 +00:00
Use id instead of username
Because username is mutable. id is immutable!
This commit is contained in:
@@ -306,7 +306,7 @@ export const packForAp = (
|
||||
|
||||
if (!_user) return reject('invalid user arg.');
|
||||
|
||||
const userUrl = `${config.url}/@${_user.username}`;
|
||||
const userUrl = `${config.url}/@@${_user._id}`;
|
||||
|
||||
resolve({
|
||||
"@context": ["https://www.w3.org/ns/activitystreams", {
|
||||
|
||||
Reference in New Issue
Block a user