fix(user): update the known user when fetched from a display URL
A fetch from a display URL (e.g. https://host/@user) returns the actor with its canonical id. make_user_from_ap_id looked the user up by the fetch URL, did not find it and tried to insert a duplicate. Look the user up by the fetched id. Based on Akkoma 48b3a3579.
This commit is contained in:
parent
f1337d8159
commit
f22caeff53
3 changed files with 31 additions and 2 deletions
1
changelog.d/user-fetch-display-url.fix
Normal file
1
changelog.d/user-fetch-display-url.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Update the known user instead of failing when an actor is fetched from a display URL
|
||||
Loading…
Add table
Add a link
Reference in a new issue