ActivityPub-federated video streaming platform using P2P directly in your web browser
Merge branch 'release/4.2.0' into develop
Chocobozzz714e33a7428b
diff --cc client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.scssindex b8e6136fb4,923f0029bf..fd8cd7ffcc--- a/client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.scss+++ b/client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.scss@@@ -3,34 -3,37 +3,36 @@@.actor {display: flex;+}- my-actor-avatar {- @include margin-right(15px);- }+my-actor-avatar {+ @include margin-right(15px);+}- .actor-info {- display: inline-flex;- flex-direction: column;+.actor-info {+ display: inline-flex;+ flex-direction: column;+}- .actor-info-display-name {- @include peertube-word-wrap;+.actor-info-display-name {++ @include peertube-word-wrap;+- font-size: 20px;- font-weight: $font-bold;+ font-size: 20px;+ font-weight: $font-bold;- @media screen and (max-width: $small-view) {- font-size: 16px;- }- }+ @media screen and (max-width: $small-view) {+ font-size: 16px;+ }+}- .actor-info-username {- position: relative;- font-size: 14px;- color: pvar(--greyForegroundColor);- }+.actor-info-username {+ position: relative;+ font-size: 14px;+ color: pvar(--greyForegroundColor);+}- .actor-info-followers {- font-size: 15px;- padding-bottom: .5rem;- }- }+.actor-info-followers {+ padding-bottom: .5rem;}.actor-img-edit-container {diff --cc server/lib/views/shared/video-viewer-counters.tsindex 5876213201,5158f8f93f..cf3fa5882e--- a/server/lib/views/shared/video-viewer-counters.ts+++ b/server/lib/views/shared/video-viewer-counters.ts@@@ -162,10 -162,10 +162,10 @@@ export class VideoViewerCountersreturn sha256(this.salt + '-' + ip + '-' + videoUUID)}- private async federateViewerIfNeeded (video: MVideo, viewer: Viewer) {+ private async federateViewerIfNeeded (video: MVideoImmutable, viewer: Viewer) {// Federate the viewer if it's been a "long" time we did notconst now = new Date().getTime()- const federationLimit = now - (VIEW_LIFETIME.VIEWER_COUNTER / 2)+ const federationLimit = now - (VIEW_LIFETIME.VIEWER_COUNTER * 0.75)if (viewer.lastFederation && viewer.lastFederation > federationLimit) return