@@ -241,7 +241,7 @@ def forum_is_unread(forum, forumsread, user):
return False
# check if the last post is newer than the tracker length
- if not forum.last_post or forum.last_post_created < read_cutoff:
+ if forum.last_post_id is None or forum.last_post_created < read_cutoff:
# If the user hasn't visited a topic in the forum - therefore,
@@ -12,8 +12,8 @@ import flaskbb
# revision identifiers, used by Alembic.
revision = 'd0ffadc3ea48'
-down_revision = None
-branch_labels = ('default',)
+down_revision = '881dd22cab94'
+branch_labels = ()
depends_on = None