From 8424c4026afd7304880a4ce8138a04ffb3d8c938 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 30 Aug 2019 16:50:12 +0200 Subject: Add auto follow back support for instances --- shared/models/users/user-notification.model.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'shared/models/users/user-notification.model.ts') diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index fafc2b7d7..e9be1ca7f 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts @@ -19,7 +19,9 @@ export enum UserNotificationType { VIDEO_AUTO_BLACKLIST_FOR_MODERATORS = 12, - NEW_INSTANCE_FOLLOWER = 13 + NEW_INSTANCE_FOLLOWER = 13, + + AUTO_INSTANCE_FOLLOWING = 14 } export interface VideoInfo { @@ -78,10 +80,12 @@ export interface UserNotification { id: number follower: ActorInfo state: FollowState + following: { - type: 'account' | 'channel' + type: 'account' | 'channel' | 'instance' name: string displayName: string + host: string } } -- cgit v1.2.3