Enable Chats deletion for Rebased

revert-fa4bd20d
Alex Gleason 2022-12-08 19:48:34 -06:00
rodzic 9dd791eeed
commit 889d598027
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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.