From 3dd4efdc14ee4730938440010e5b611a42684ae0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 29 Jan 2023 16:41:48 -0600 Subject: [PATCH] Fix pointless relationships conditional --- app/soapbox/reducers/relationships.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/reducers/relationships.ts b/app/soapbox/reducers/relationships.ts index 40bcbdfaa..2eb035ec4 100644 --- a/app/soapbox/reducers/relationships.ts +++ b/app/soapbox/reducers/relationships.ts @@ -57,7 +57,7 @@ const setDomainBlocking = (state: State, accounts: ImmutableList, blocki const importPleromaAccount = (state: State, account: APIEntity) => { const relationship = get(account, ['pleroma', 'relationship'], {}); - if (relationship.id && relationship !== {}) + if (relationship.id) return normalizeRelationships(state, [relationship]); return state; };