Merge branch 'chats-deletion' into 'develop'

Enable Chats deletion for Rebased

Closes #608

See merge request soapbox-pub/soapbox!1984
This commit is contained in:
Alex Gleason 2022-12-09 02:13:49 +00:00
commit 5998400a75

View file

@ -224,7 +224,10 @@ const getInstanceFeatures = (instance: Instance) => {
* Ability to delete a chat. * Ability to delete a chat.
* @see DELETE /api/v1/pleroma/chats/:id * @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. * Ability to set disappearing messages on chats.