From 889d59802771e3f7fd05c9cbe795fd1b940844e3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 8 Dec 2022 19:48:34 -0600 Subject: [PATCH] Enable Chats deletion for Rebased --- app/soapbox/utils/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 184a3081e..f57458f98 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -224,7 +224,10 @@ const getInstanceFeatures = (instance: Instance) => { * Ability to delete a chat. * @see DELETE /api/v1/pleroma/chats/:id */ - chatsDelete: v.software === TRUTHSOCIAL, + chatsDelete: any([ + v.software === TRUTHSOCIAL, + v.build === REBASED, + ]), /** * Ability to set disappearing messages on chats.