entity normalizer: collapse data.pleroma if blocks

This commit is contained in:
William Pitcock 2019-05-25 22:59:04 +00:00
parent 28ca504576
commit ac97cd3e46

View File

@ -134,14 +134,10 @@ export const parseUser = (data) => {
if (data.pleroma) {
output.follow_request_count = data.pleroma.follow_request_count
}
if (data.pleroma) {
output.tags = data.pleroma.tags
output.deactivated = data.pleroma.deactivated
}
if (data.pleroma) {
output.notification_settings = data.pleroma.notification_settings
}