From 7637923f56b1c32652015f6255fe2da1bd6af4a4 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 2 Jan 2025 14:04:13 -0800 Subject: [PATCH] noPrefix -> prefix --- ProjectLighthouse/Database/DatabaseContext.Notifications.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectLighthouse/Database/DatabaseContext.Notifications.cs b/ProjectLighthouse/Database/DatabaseContext.Notifications.cs index 9ba8b20ee..d22af72e4 100644 --- a/ProjectLighthouse/Database/DatabaseContext.Notifications.cs +++ b/ProjectLighthouse/Database/DatabaseContext.Notifications.cs @@ -15,10 +15,10 @@ public partial class DatabaseContext /// /// The user ID of the target user. /// The message to send. - /// Ignore the prepended server name/timestamp. + /// Prepend server name/timestamp. /// The for the notification. Defaults to ModerationNotification. public async Task SendNotification - (int userId, string text, bool noPrefix = false, NotificationType type = NotificationType.ModerationNotification) + (int userId, string text, bool prefix = true, NotificationType type = NotificationType.ModerationNotification) { if (!await this.Users.AnyAsync(u => u.UserId == userId)) { @@ -32,7 +32,7 @@ public async Task SendNotification StringBuilder builder = new(text); - if (!noPrefix) + if (prefix) { // Prepend server name to notification text if enabled if (ServerConfiguration.Instance.NotificationConfiguration.ShowServerNameInText)