When the instance refuses the token on a post (it was revoked or expired), the account now remembers it: GET /me/mastodon says problem: token_refused and nothing is posted until I connect again with a new token. - migration 0027 adds mastodon_accounts.problem (SQLite and PostgreSQL). - Only a refused token marks the account; an instance that is down does not. - Saving the account again clears the problem. - Settings shows the warning and the form with the instance already filled in, next to Disconnect. - English and Italian.
3 lines
135 B
SQL
3 lines
135 B
SQL
-- PostgreSQL flavour of sqlite/0027_mastodon_problem.sql.
|
|
|
|
ALTER TABLE mastodon_accounts ADD COLUMN problem TEXT NOT NULL DEFAULT '';
|