Fix avatars on video watch page
This commit is contained in:
parent
0b49571268
commit
b6a4fd6b09
|
@ -1,5 +1,13 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## v0.0.25-alpha
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
* Fix avatars on video watch page
|
||||||
|
|
||||||
|
|
||||||
## v0.0.24-alpha
|
## v0.0.24-alpha
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
|
@ -68,6 +68,7 @@ import { sendDeleteVideo } from '../../lib/activitypub/send'
|
||||||
import { AccountModel } from '../account/account'
|
import { AccountModel } from '../account/account'
|
||||||
import { AccountVideoRateModel } from '../account/account-video-rate'
|
import { AccountVideoRateModel } from '../account/account-video-rate'
|
||||||
import { ActorModel } from '../activitypub/actor'
|
import { ActorModel } from '../activitypub/actor'
|
||||||
|
import { AvatarModel } from '../avatar/avatar'
|
||||||
import { ServerModel } from '../server/server'
|
import { ServerModel } from '../server/server'
|
||||||
import { getSort, throwIfNotValid } from '../utils'
|
import { getSort, throwIfNotValid } from '../utils'
|
||||||
import { TagModel } from './tag'
|
import { TagModel } from './tag'
|
||||||
|
@ -175,6 +176,10 @@ enum ScopeNames {
|
||||||
attributes: [ 'host' ],
|
attributes: [ 'host' ],
|
||||||
model: () => ServerModel.unscoped(),
|
model: () => ServerModel.unscoped(),
|
||||||
required: false
|
required: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
model: () => AvatarModel.unscoped(),
|
||||||
|
required: false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user