diff --git a/client/src/app/models/profile.model.ts b/client/src/app/models/profile.model.ts
index ce0876c..edcc38c 100644
--- a/client/src/app/models/profile.model.ts
+++ b/client/src/app/models/profile.model.ts
@@ -4,4 +4,5 @@ export class Profile {
public expiration: Date;
public currentVersion: string;
public latestVersion: string;
+ public disableUpdateNotification: boolean;
}
diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html
index 7a3ee62..a0c730f 100644
--- a/client/src/app/navbar/navbar.component.html
+++ b/client/src/app/navbar/navbar.component.html
@@ -63,7 +63,7 @@
Version {{ profile.latestVersion }} of RealDebrid Client was found. You are currently on version
{{ profile.currentVersion }}.
diff --git a/server/RdtClient.Data/Models/Internal/DbSettings.cs b/server/RdtClient.Data/Models/Internal/DbSettings.cs
index e90e258..3b6f901 100644
--- a/server/RdtClient.Data/Models/Internal/DbSettings.cs
+++ b/server/RdtClient.Data/Models/Internal/DbSettings.cs
@@ -74,6 +74,10 @@ Supports the following parameters:
[DisplayName("Copy added torrent files")]
[Description("When a torrent file or magnet is added, create a copy in this directory.")]
public String? CopyAddedTorrents { get; set; } = null;
+
+ [DisplayName("Disable update notifications")]
+ [Description("Ignore update notifications. You will still be notified if the version you are running has a security vulnerability.")]
+ public Boolean DisableUpdateNotifications { get; set; } = false;
}
public class DbSettingsDownloadClient
diff --git a/server/RdtClient.Data/Models/Internal/Profile.cs b/server/RdtClient.Data/Models/Internal/Profile.cs
index f09d77a..9cad703 100644
--- a/server/RdtClient.Data/Models/Internal/Profile.cs
+++ b/server/RdtClient.Data/Models/Internal/Profile.cs
@@ -7,4 +7,5 @@ public class Profile
public DateTimeOffset? Expiration { get; set; }
public String? CurrentVersion { get; set; }
public String? LatestVersion { get; set; }
+ public Boolean? DisableUpdateNotification { get; set; }
}
\ No newline at end of file
diff --git a/server/RdtClient.Service/Services/Torrents.cs b/server/RdtClient.Service/Services/Torrents.cs
index a88087a..5bec7d8 100644
--- a/server/RdtClient.Service/Services/Torrents.cs
+++ b/server/RdtClient.Service/Services/Torrents.cs
@@ -413,7 +413,8 @@ public class Torrents(
UserName = user.Username,
Expiration = user.Expiration,
CurrentVersion = UpdateChecker.CurrentVersion,
- LatestVersion = UpdateChecker.LatestVersion
+ LatestVersion = UpdateChecker.LatestVersion,
+ DisableUpdateNotification = Settings.Get.General.DisableUpdateNotifications
};
return profile;