From 95c7ff3d543a1bbac405e41a4edcb21981cbfdaf Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 24 Apr 2024 20:39:27 +0200 Subject: [PATCH] [backend/core] Fix follow requests getting re-added to the database after they are accepted --- Iceshrimp.Backend/Core/Services/NotificationService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Iceshrimp.Backend/Core/Services/NotificationService.cs b/Iceshrimp.Backend/Core/Services/NotificationService.cs index 7cda4618..7589018d 100644 --- a/Iceshrimp.Backend/Core/Services/NotificationService.cs +++ b/Iceshrimp.Backend/Core/Services/NotificationService.cs @@ -184,7 +184,6 @@ public class NotificationService( { Id = IdHelpers.GenerateSlowflakeId(), CreatedAt = DateTime.UtcNow, - FollowRequest = followRequest, Notifier = followRequest.Followee, Notifiee = followRequest.Follower, Type = Notification.NotificationType.FollowRequestAccepted