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)