kopia lustrzana https://gitlab.com/jaywink/federation
Fix missing DiasporaRetraction in get_outbound_entity checks
Forgot to add in #55merge-requests/130/head
rodzic
5b652d4ac6
commit
3f27bbf7c3
|
@ -124,7 +124,7 @@ def get_outbound_entity(entity):
|
|||
An instance of the correct protocol specific entity.
|
||||
"""
|
||||
cls = entity.__class__
|
||||
if cls in [DiasporaPost, DiasporaRequest, DiasporaComment, DiasporaLike, DiasporaProfile]:
|
||||
if cls in [DiasporaPost, DiasporaRequest, DiasporaComment, DiasporaLike, DiasporaProfile, DiasporaRetraction]:
|
||||
# Already fine
|
||||
return entity
|
||||
elif cls == Post:
|
||||
|
|
Ładowanie…
Reference in New Issue