Adjust when Dialogue.AttachmentsNew is changed

This commit is contained in:
Tyfon
2025-10-24 15:48:00 -07:00
parent 7bf0ecc78e
commit dae5da9399
2 changed files with 11 additions and 27 deletions
@@ -469,7 +469,6 @@ public class DialogueController(
foreach (var dialogId in dialogueIds)
{
dialogs[dialogId].New = 0;
dialogs[dialogId].AttachmentsNew = 0;
}
}
@@ -491,9 +490,6 @@ public class DialogueController(
return null;
}
// Removes corner 'new messages' tag
dialogInfo!.AttachmentsNew = 0;
var activeMessages = GetActiveMessagesFromDialog(sessionId, dialogueId);
var messagesWithAttachments = GetMessageWithAttachments(activeMessages);