From 483bafcbf28f44adf2b5457d37fc92549101011b Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Wed, 12 Jun 2024 10:06:48 +0200 Subject: [PATCH] feat: don't send seen notifications --- Minecraft-Realms-Emulator/Data/DataContext.cs | 1 + .../Entities/SeenNotification.cs | 9 + ...240612072111_SeenNotifications.Designer.cs | 486 ++++++++++++++++++ .../20240612072111_SeenNotifications.cs | 36 ++ .../Migrations/DataContextModelSnapshot.cs | 21 + .../Modes/External/NotificationsController.cs | 54 +- .../Controllers/NotificationsController.cs | 53 +- 7 files changed, 656 insertions(+), 4 deletions(-) create mode 100644 Minecraft-Realms-Emulator/Entities/SeenNotification.cs create mode 100644 Minecraft-Realms-Emulator/Migrations/20240612072111_SeenNotifications.Designer.cs create mode 100644 Minecraft-Realms-Emulator/Migrations/20240612072111_SeenNotifications.cs diff --git a/Minecraft-Realms-Emulator/Data/DataContext.cs b/Minecraft-Realms-Emulator/Data/DataContext.cs index d78c8fd..563bdf2 100644 --- a/Minecraft-Realms-Emulator/Data/DataContext.cs +++ b/Minecraft-Realms-Emulator/Data/DataContext.cs @@ -15,5 +15,6 @@ namespace Minecraft_Realms_Emulator.Data public DbSet Slots { get; set; } public DbSet