Преглед на файлове

Fix mark as read for folder

Guénaël Muller преди 6 години
родител
ревизия
fab3c75d67
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tracim/lib/core/content.py

+ 1 - 1
tracim/lib/core/content.py Целия файл

@@ -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,