fixes inconsistency in to_undo activity helper
This commit is contained in:
parent
39307ce1cd
commit
800ddf2a6b
2 changed files with 20 additions and 3 deletions
|
@ -142,10 +142,10 @@ class ActivitypubMixin:
|
|||
def to_undo_activity(self, user):
|
||||
''' undo an action '''
|
||||
return activitypub.Undo(
|
||||
id='%s#undo' % user.remote_id,
|
||||
id='%s#undo' % self.remote_id,
|
||||
actor=user.remote_id,
|
||||
object=self.to_activity()
|
||||
)
|
||||
).serialize()
|
||||
|
||||
|
||||
class OrderedCollectionPageMixin(ActivitypubMixin):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue