Updates tests for inbox tweaks
This commit is contained in:
parent
09b77e567f
commit
47cf77145d
2 changed files with 17 additions and 2 deletions
|
@ -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 '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue