From 7c1726c6657e57b531a38fe9953bda5c1ddd96df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 27 Nov 2022 23:49:51 +0100 Subject: [PATCH] update test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/reducers/__tests__/status-lists.test.ts | 12 ++++++++++++ app/soapbox/utils/features.ts | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/soapbox/reducers/__tests__/status-lists.test.ts b/app/soapbox/reducers/__tests__/status-lists.test.ts index b01daee09..e362b849e 100644 --- a/app/soapbox/reducers/__tests__/status-lists.test.ts +++ b/app/soapbox/reducers/__tests__/status-lists.test.ts @@ -27,6 +27,18 @@ describe('status_lists reducer', () => { isLoading: null, items: [], }, + joined_events: { + next: null, + loaded: false, + isLoading: null, + items: [], + }, + recent_events: { + next: null, + loaded: false, + isLoading: null, + items: [], + }, }); }); }); diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 0bfc07398..efbbbda37 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -280,7 +280,7 @@ const getInstanceFeatures = (instance: Instance) => { */ ethereumLogin: v.software === MITRA, - events: v.software === PLEROMA && v.build === SOAPBOX && gte(v.version, '2.4.50'), + events: v.software === PLEROMA && v.build === REBASED && gte(v.version, '2.4.50'), /** * Ability to address recipients of a status explicitly (with `to`).