1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-06-08 17:30:43 +00:00

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+"