aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-03 11:54:42 +0100
committerChocobozzz <me@florianbigard.com>2018-01-03 11:54:42 +0100
commit4e8c872874d95d4851896014e5c15ff93f267c89 (patch)
tree6c340a4db516d6415482e1b00ea306f712674ed9 /server
parente8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf (diff)
downloadPeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.gz
PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.zst
PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.zip
Circle avatar
Diffstat (limited to 'server')
-rw-r--r--server/controllers/api/users.ts2
-rw-r--r--server/lib/activitypub/process/process-update.ts1
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'
3import * as sharp from 'sharp' 3import * as sharp from 'sharp'
4import * as uuidv4 from 'uuid/v4' 4import * as uuidv4 from 'uuid/v4'
5import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' 5import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared'
6import { renamePromise, unlinkPromise } from '../../helpers/core-utils' 6import { unlinkPromise } from '../../helpers/core-utils'
7import { retryTransactionWrapper } from '../../helpers/database-utils' 7import { retryTransactionWrapper } from '../../helpers/database-utils'
8import { logger } from '../../helpers/logger' 8import { logger } from '../../helpers/logger'
9import { createReqFiles, getFormattedObjects } from '../../helpers/utils' 9import { 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)