move user disable into deactivation
This commit is contained in:
parent
0f2f7d2cec
commit
db4badc6aa
12 changed files with 36 additions and 83 deletions
|
|
@ -235,7 +235,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
|
|||
nil ->
|
||||
{:error, "No user with such user_id"}
|
||||
|
||||
%User{info: %{disabled: true}} ->
|
||||
%User{info: %{deactivated: true}} ->
|
||||
{:error, "User has been disabled"}
|
||||
|
||||
user ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue