diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:54:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:54:42 +0100 |
commit | 4e8c872874d95d4851896014e5c15ff93f267c89 (patch) | |
tree | 6c340a4db516d6415482e1b00ea306f712674ed9 /server | |
parent | e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf (diff) | |
download | PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.gz PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.zst PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.zip |
Circle avatar
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/api/users.ts | 2 | ||||
-rw-r--r-- | server/lib/activitypub/process/process-update.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts index 6c24434f2..d37813595 100644 --- a/server/controllers/api/users.ts +++ b/server/controllers/api/users.ts | |||
@@ -3,7 +3,7 @@ import { extname, join } from 'path' | |||
3 | import * as sharp from 'sharp' | 3 | import * as sharp from 'sharp' |
4 | import * as uuidv4 from 'uuid/v4' | 4 | import * as uuidv4 from 'uuid/v4' |
5 | import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' | 5 | import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' |
6 | import { renamePromise, unlinkPromise } from '../../helpers/core-utils' | 6 | import { unlinkPromise } from '../../helpers/core-utils' |
7 | import { retryTransactionWrapper } from '../../helpers/database-utils' | 7 | import { retryTransactionWrapper } from '../../helpers/database-utils' |
8 | import { logger } from '../../helpers/logger' | 8 | import { logger } from '../../helpers/logger' |
9 | import { createReqFiles, getFormattedObjects } from '../../helpers/utils' | 9 | import { createReqFiles, getFormattedObjects } from '../../helpers/utils' |
diff --git a/server/lib/activitypub/process/process-update.ts b/server/lib/activitypub/process/process-update.ts index a5ad406cb..bc8ae5cc6 100644 --- a/server/lib/activitypub/process/process-update.ts +++ b/server/lib/activitypub/process/process-update.ts | |||
@@ -65,6 +65,7 @@ async function updateRemoteVideo (actor: ActorModel, activity: ActivityUpdate) { | |||
65 | videoInstance.set('licence', videoData.licence) | 65 | videoInstance.set('licence', videoData.licence) |
66 | videoInstance.set('language', videoData.language) | 66 | videoInstance.set('language', videoData.language) |
67 | videoInstance.set('nsfw', videoData.nsfw) | 67 | videoInstance.set('nsfw', videoData.nsfw) |
68 | videoInstance.set('commentsEnabled', videoData.commentsEnabled) | ||
68 | videoInstance.set('privacy', videoData.privacy) | 69 | videoInstance.set('privacy', videoData.privacy) |
69 | videoInstance.set('description', videoData.description) | 70 | videoInstance.set('description', videoData.description) |
70 | videoInstance.set('duration', videoData.duration) | 71 | videoInstance.set('duration', videoData.duration) |