Fix missing DiasporaRetraction in get_outbound_entity checks

Forgot to add in #55
merge-requests/130/head
Jason Robinson 2016-10-01 23:48:26 +03:00
rodzic 5b652d4ac6
commit 3f27bbf7c3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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