mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-30 16:51:56 +01:00
Clean up
This commit is contained in:
parent
d849ea9b41
commit
8948a0d3a4
1 changed files with 0 additions and 10 deletions
|
@ -261,16 +261,6 @@ export const pack = (
|
|||
|
||||
if (_user.avatarUrl == null) {
|
||||
_user.avatarUrl = `${config.drive_url}/default-avatar.jpg`;
|
||||
|
||||
// 互換性のため
|
||||
if (_user.avatarId) {
|
||||
_user.avatarUrl = `${config.drive_url}/${_user.avatarId}`;
|
||||
}
|
||||
}
|
||||
|
||||
// 互換性のため
|
||||
if (_user.bannerId && _user.bannerUrl == null) {
|
||||
_user.bannerUrl = `${config.drive_url}/${_user.bannerId}`;
|
||||
}
|
||||
|
||||
if (!meId || !meId.equals(_user.id) || !opts.detail) {
|
||||
|
|
Loading…
Reference in a new issue