Skip to content
Snippets Groups Projects
Commit 831cf9ea authored by feld's avatar feld Committed by feld
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 36e56354
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ export const parseUser = (data) => {
// deactivated was changed to is_active in Pleroma 2.3.0
// so check if is_active is present
output.deactivated = typeof data.pleroma.is_active !== undefined
output.deactivated = typeof data.pleroma.is_active !== 'undefined'
? !data.pleroma.is_active // new backend
: data.pleroma.deactivated // old backend
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment