feat:нечиталка

This commit is contained in:
torvalds
2026-06-29 12:57:57 +07:00
parent 4c7b609b2e
commit 3f44a8e5be
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',