Make fix to Pleroma notifications not depend on Mastodon.py fix

This commit is contained in:
Jason McBrayer 2019-01-27 22:46:41 -05:00
parent e4bbd29cc8
commit 5072defbbd
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def _notes_count(account, mastodon):
if account.note_seen is None: if account.note_seen is None:
account.note_seen = "0" account.note_seen = "0"
account.save() account.save()
if item.id <= account.note_seen: if str(item.id) <= str(account.note_seen):
break break
else: else:
index = "40+" index = "40+"