Get ready to process profile deletes.

ap-profile-handling
Alain St-Denis 2023-04-06 17:01:59 -04:00
rodzic 5ad5212332
commit 8e50267305
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1230,9 +1230,10 @@ class Delete(Create, base.Retraction):
signable = True
def to_base(self):
self.entity_type = 'Unsupported'
if not isinstance(self.object_, Tombstone):
self.target_id = self.object_
self.entity_type = 'Object'
self.entity_type = 'Profile'
return self
class Meta: