diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 11:16:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 11:16:08 +0100 |
commit | da854ddd502cd70685ef779c673b9e63757b8aa0 (patch) | |
tree | 21501d170cceaa044a5f23449cbd2eb47fd6415d /server/controllers/client.ts | |
parent | f40bbe3146553ef45515ee6b6d93ce6028f045ca (diff) | |
download | PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.tar.gz PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.tar.zst PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.zip |
Propagate old comment on new follow
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r-- | server/controllers/client.ts | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 9a72fe8e0..39e046727 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -1,15 +1,9 @@ | |||
1 | import * as Bluebird from 'bluebird' | ||
1 | import * as express from 'express' | 2 | import * as express from 'express' |
2 | import { join } from 'path' | 3 | import { join } from 'path' |
3 | import * as validator from 'validator' | 4 | import * as validator from 'validator' |
4 | import * as Bluebird from 'bluebird' | 5 | import { escapeHTML, readFileBufferPromise, root } from '../helpers/core-utils' |
5 | import { | 6 | import { CONFIG, EMBED_SIZE, OPENGRAPH_AND_OEMBED_COMMENT, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers' |
6 | CONFIG, | ||
7 | STATIC_PATHS, | ||
8 | STATIC_MAX_AGE, | ||
9 | OPENGRAPH_AND_OEMBED_COMMENT, | ||
10 | EMBED_SIZE | ||
11 | } from '../initializers' | ||
12 | import { root, readFileBufferPromise, escapeHTML } from '../helpers' | ||
13 | import { asyncMiddleware } from '../middlewares' | 7 | import { asyncMiddleware } from '../middlewares' |
14 | import { VideoModel } from '../models/video/video' | 8 | import { VideoModel } from '../models/video/video' |
15 | 9 | ||