1
0
mirror of https://gitlab.com/brutaldon/brutaldon synced 2025-03-10 16:30:11 +01: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: 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+"