Merge pull request #752 from mouse-reeve/inbox-error

Ignore activities that expect dict args but get strs
This commit is contained in:
Mouse Reeve 2021-03-16 13:04:03 -07:00 committed by GitHub
commit 783c07a0bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,11 @@ class Undo(Verb):
def action(self):
""" find and remove the activity object """
if isinstance(self.object, str):
# it may be that sometihng should be done with these, but idk what
# this seems just to be coming from pleroma
return
# this is so hacky but it does make it work....
# (because you Reject a request and Undo a follow
model = None