Adjust when Dialogue.AttachmentsNew is changed
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user