Browse Source

Fix mark as read for folder

Guénaël Muller 6 years ago
parent
commit
fab3c75d67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/lib/core/content.py

+ 1 - 1
tracim/lib/core/content.py View File

@@ -1115,7 +1115,7 @@ class ContentApi(object):
1115 1115
                        ):
1116 1116
         itemset = self.get_last_active(workspace)
1117 1117
         for item in itemset:
1118
-            if item.type != ContentType.Folder and item.has_new_information_for(self._user):
1118
+            if item.has_new_information_for(self._user):
1119 1119
                 self.mark_read(item, read_datetime, do_flush, recursive)
1120 1120
 
1121 1121
     def mark_read(self, content: Content,