mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 03:26:07 +00:00
fix(wanderer): say so when wanderer names no author for the token's account
A token whose account has no local ActivityPub author was reported as invalid_response, which the settings show as 'The answer did not come from wanderer', although wanderer had answered fine. It now has its own code, no_author, with a message in every language that says what is missing.
This commit is contained in:
@@ -46,6 +46,8 @@ export const wandererErrorCodeSchema = z.enum([
|
||||
/** The trail is someone else's: only the connected account's own trails are imported. */
|
||||
'not_own_trail',
|
||||
'invalid_response',
|
||||
/** wanderer answered, but named no local author for the token's account, so its own trails cannot be told apart. */
|
||||
'no_author',
|
||||
'too_large',
|
||||
'server_error',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user