소스 검색

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,