Merge pull request #8336 from Mamadou78130/fix8330

Fixed viewed counting
This commit is contained in:
litetex 2022-05-04 19:33:36 +02:00 committed by GitHub
commit 47af21d248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ public class StreamHistoryEntity {
@Ignore @Ignore
public StreamHistoryEntity(final long streamUid, @NonNull final OffsetDateTime accessDate) { public StreamHistoryEntity(final long streamUid, @NonNull final OffsetDateTime accessDate) {
this(streamUid, accessDate, 1); this(streamUid, accessDate, 0); // start with 0 views (adding views will be done elsewhere)
} }
public long getStreamUid() { public long getStreamUid() {