瀏覽代碼

Update StoryIndexService.php

Daniel Supernault 3 周之前
父節點
當前提交
03f44b8a28
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/StoryIndexService.php

+ 1 - 1
app/Services/StoryIndexService.php

@@ -487,7 +487,7 @@ class StoryIndexService
                 }
 
                 $durationMs = max(((int) $h['duration']) * 1000, 10000);
-                $viewed = $isAuthor ? false : isset($seenCache[$aid][$sid]);
+                $viewed = $isAuthor ? true : isset($seenCache[$aid][$sid]);
 
                 $storyItems[] = [
                     'id' => (string) $sid,