.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 {
return 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 not
const 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