Less spam
This commit is contained in:
@@ -358,7 +358,7 @@ public partial class MareHub
|
||||
|
||||
await _dbContext.SaveChangesAsync().ConfigureAwait(false);
|
||||
|
||||
await Clients.User(dto.User.UID).Client_ReceiveServerMessage(MessageSeverity.Warning, "Your Mare profile has been reported and disabled for admin validation").ConfigureAwait(false);
|
||||
await Clients.User(dto.User.UID).Client_ReceiveServerMessage(MessageSeverity.Warning, "Your profile has been reported and disabled for admin validation").ConfigureAwait(false);
|
||||
|
||||
var allPairedUsers = await GetAllPairedUnpausedUsers(dto.User.UID).ConfigureAwait(false);
|
||||
var pairs = await GetOnlineUsers(allPairedUsers).ConfigureAwait(false);
|
||||
|
||||
@@ -231,7 +231,7 @@ internal class DiscordBot : IHostedService
|
||||
{
|
||||
using (var scope = _services.CreateScope())
|
||||
{
|
||||
_logger.LogInformation("Checking for Profile Reports");
|
||||
_logger.LogTrace("Checking for Profile Reports");
|
||||
var dbContext = scope.ServiceProvider.GetRequiredService<MareDbContext>();
|
||||
if (!dbContext.UserProfileReports.Any())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user