From 28ca504576134a8dd7b7e90488319c23f23b2300 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 07:01:02 +0000 Subject: wire up notification settings --- src/services/entity_normalizer/entity_normalizer.service.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/services/entity_normalizer/entity_normalizer.service.js') diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index efff23d1..baf58e9b 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -141,8 +141,13 @@ export const parseUser = (data) => { output.deactivated = data.pleroma.deactivated } + if (data.pleroma) { + output.notification_settings = data.pleroma.notification_settings + } + output.tags = output.tags || [] output.rights = output.rights || {} + output.notification_settings = output.notification_settings || {} return output } -- cgit v1.2.3-70-g09d2