diff options
Diffstat (limited to 'server/lib/notifier/shared/follow')
3 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/notifier/shared/follow/auto-follow-for-instance.ts b/server/lib/notifier/shared/follow/auto-follow-for-instance.ts index 16cc62984..01d2b3563 100644 --- a/server/lib/notifier/shared/follow/auto-follow-for-instance.ts +++ b/server/lib/notifier/shared/follow/auto-follow-for-instance.ts | |||
@@ -35,7 +35,7 @@ export class AutoFollowForInstance extends AbstractNotification <MActorFollowFul | |||
35 | return notification | 35 | return notification |
36 | } | 36 | } |
37 | 37 | ||
38 | async createEmail (to: string) { | 38 | createEmail (to: string) { |
39 | const instanceUrl = this.actorFollow.ActorFollowing.url | 39 | const instanceUrl = this.actorFollow.ActorFollowing.url |
40 | 40 | ||
41 | return { | 41 | return { |
diff --git a/server/lib/notifier/shared/follow/follow-for-instance.ts b/server/lib/notifier/shared/follow/follow-for-instance.ts index 9ab269cf1..a4a2fbf53 100644 --- a/server/lib/notifier/shared/follow/follow-for-instance.ts +++ b/server/lib/notifier/shared/follow/follow-for-instance.ts | |||
@@ -43,7 +43,7 @@ export class FollowForInstance extends AbstractNotification <MActorFollowFull> { | |||
43 | return notification | 43 | return notification |
44 | } | 44 | } |
45 | 45 | ||
46 | async createEmail (to: string) { | 46 | createEmail (to: string) { |
47 | const awaitingApproval = this.actorFollow.state === 'pending' | 47 | const awaitingApproval = this.actorFollow.state === 'pending' |
48 | ? ' awaiting manual approval.' | 48 | ? ' awaiting manual approval.' |
49 | : '' | 49 | : '' |
diff --git a/server/lib/notifier/shared/follow/follow-for-user.ts b/server/lib/notifier/shared/follow/follow-for-user.ts index 2d0f675a8..e579d4487 100644 --- a/server/lib/notifier/shared/follow/follow-for-user.ts +++ b/server/lib/notifier/shared/follow/follow-for-user.ts | |||
@@ -56,7 +56,7 @@ export class FollowForUser extends AbstractNotification <MActorFollowFull> { | |||
56 | return notification | 56 | return notification |
57 | } | 57 | } |
58 | 58 | ||
59 | async createEmail (to: string) { | 59 | createEmail (to: string) { |
60 | const following = this.actorFollow.ActorFollowing | 60 | const following = this.actorFollow.ActorFollowing |
61 | const follower = this.actorFollow.ActorFollower | 61 | const follower = this.actorFollow.ActorFollower |
62 | 62 | ||