aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-08 10:00:35 +0100
committerChocobozzz <me@florianbigard.com>2018-01-08 10:15:27 +0100
commit93ef8a9d02059da2fc90efedb7755c97e9e19ef4 (patch)
treedfde0d2fdb63277d94491265171add41acf091c3 /server/models/account
parent57a49263e48739c31cd339730ac4cb24e3d5d723 (diff)
downloadPeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.tar.gz
PeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.tar.zst
PeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.zip
Send comment to followers and parents
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/account.ts15
1 files changed, 2 insertions, 13 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts
index c85d12824..47336d1e0 100644
--- a/server/models/account/account.ts
+++ b/server/models/account/account.ts
@@ -1,26 +1,15 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import { 2import {
3 AfterDestroy, 3 AfterDestroy, AllowNull, BelongsTo, Column, CreatedAt, DefaultScope, ForeignKey, HasMany, Model, Table,
4 AllowNull,
5 BelongsTo,
6 Column,
7 CreatedAt,
8 DefaultScope,
9 ForeignKey,
10 HasMany,
11 Is,
12 Model,
13 Table,
14 UpdatedAt 4 UpdatedAt
15} from 'sequelize-typescript' 5} from 'sequelize-typescript'
16import { Account } from '../../../shared/models/actors' 6import { Account } from '../../../shared/models/actors'
17import { isUserUsernameValid } from '../../helpers/custom-validators/users'
18import { sendDeleteActor } from '../../lib/activitypub/send' 7import { sendDeleteActor } from '../../lib/activitypub/send'
19import { ActorModel } from '../activitypub/actor' 8import { ActorModel } from '../activitypub/actor'
20import { ApplicationModel } from '../application/application' 9import { ApplicationModel } from '../application/application'
21import { AvatarModel } from '../avatar/avatar' 10import { AvatarModel } from '../avatar/avatar'
22import { ServerModel } from '../server/server' 11import { ServerModel } from '../server/server'
23import { getSort, throwIfNotValid } from '../utils' 12import { getSort } from '../utils'
24import { VideoChannelModel } from '../video/video-channel' 13import { VideoChannelModel } from '../video/video-channel'
25import { UserModel } from './user' 14import { UserModel } from './user'
26 15