Updates tests for inbox tweaks

This commit is contained in:
Mouse Reeve
2021-03-07 09:45:02 -08:00
parent 09b77e567f
commit 47cf77145d
2 changed files with 17 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class Favorite(ActivityMixin, BookWyrmModel):
@classmethod
def ignore_activity(cls, activity):
''' don't bother with incoming favs of unknown statuses '''
return cls.objects.filter(remote_id=activity.object).exists()
return not cls.objects.filter(remote_id=activity.object).exists()
def save(self, *args, **kwargs):
''' update user active time '''