feat:нечиталка

This commit is contained in:
Jganenokk
2026-06-29 12:57:57 +07:00
parent a48652ef63
commit 0abbc2b59d
4 changed files with 43 additions and 17 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ class ChatsModule {
if ((row['unread_count'] as int? ?? 0) == 0) return;
final msgIdNum = int.tryParse(messageId);
if (msgIdNum != null) {
if (msgIdNum != null && !KometSettings.antiRead.value) {
try {
await api.sendRequest(Opcode.chatMark, {
'type': 'READ_MESSAGE',