mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
Merge pull request #752 from mouse-reeve/inbox-error
Ignore activities that expect dict args but get strs
This commit is contained in:
commit
783c07a0bf
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue