Forráskód Böngészése

Update StoryIndexService.php

Daniel Supernault 3 hete
szülő
commit
03f44b8a28
1 módosított fájl, 1 hozzáadás és 1 törlés
  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,