Ver código fonte

Merge pull request #6145 from pixelfed/staging

Update StoryIndexService.php
(dan)iel (sup)ernault 3 semanas atrás
pai
commit
3b4bd3e316
1 arquivos alterados com 1 adições e 1 exclusões
  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);
                 $durationMs = max(((int) $h['duration']) * 1000, 10000);
-                $viewed = $isAuthor ? false : isset($seenCache[$aid][$sid]);
+                $viewed = $isAuthor ? true : isset($seenCache[$aid][$sid]);
 
 
                 $storyItems[] = [
                 $storyItems[] = [
                     'id' => (string) $sid,
                     'id' => (string) $sid,