Reduced message size and reason length of report

This commit is contained in:
cake
2025-12-16 07:02:35 +01:00
parent dec6c4900b
commit a41f419076

View File

@@ -12,11 +12,11 @@ namespace LightlessSync.Services.Chat;
public sealed class ZoneChatService : DisposableMediatorSubscriberBase, IHostedService
{
private const int MaxMessageHistory = 150;
internal const int MaxOutgoingLength = 400;
internal const int MaxOutgoingLength = 200;
private const int MaxUnreadCount = 999;
private const string ZoneUnavailableMessage = "Zone chat is only available in major cities.";
private const string ZoneChannelKey = "zone";
private const int MaxReportReasonLength = 500;
private const int MaxReportReasonLength = 100;
private const int MaxReportContextLength = 1000;
private readonly ApiController _apiController;