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

View File

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