diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-09 08:18:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-09 08:19:54 +0200 |
commit | 846751c98b8704c09234688be6e7e23b837a3739 (patch) | |
tree | 19e6791c0cfc80b277a9ea8c906ac40cd76ee579 /client/src/app/shared/users | |
parent | 883993c81ecc2388d4a4b37b29b81b6de73d264f (diff) | |
download | PeerTube-846751c98b8704c09234688be6e7e23b837a3739.tar.gz PeerTube-846751c98b8704c09234688be6e7e23b837a3739.tar.zst PeerTube-846751c98b8704c09234688be6e7e23b837a3739.zip |
Add newInstanceFollower in notification settings
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r-- | client/src/app/shared/users/user-notification.model.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts index 7d0eb5ea2..76b983152 100644 --- a/client/src/app/shared/users/user-notification.model.ts +++ b/client/src/app/shared/users/user-notification.model.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { UserNotification as UserNotificationServer, UserNotificationType, VideoInfo, ActorInfo } from '../../../../../shared' | 1 | import { ActorInfo, FollowState, UserNotification as UserNotificationServer, UserNotificationType, VideoInfo } from '../../../../../shared' |
2 | import { Actor } from '@app/shared/actor/actor.model' | 2 | import { Actor } from '@app/shared/actor/actor.model' |
3 | 3 | ||
4 | export class UserNotification implements UserNotificationServer { | 4 | export class UserNotification implements UserNotificationServer { |
@@ -39,6 +39,7 @@ export class UserNotification implements UserNotificationServer { | |||
39 | 39 | ||
40 | actorFollow?: { | 40 | actorFollow?: { |
41 | id: number | 41 | id: number |
42 | state: FollowState | ||
42 | follower: ActorInfo & { avatarUrl?: string } | 43 | follower: ActorInfo & { avatarUrl?: string } |
43 | following: { | 44 | following: { |
44 | type: 'account' | 'channel' | 45 | type: 'account' | 'channel' |