diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-05-25 17:02:27 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-05-25 17:02:27 +0300 |
| commit | 5e0856749a27b186dd23273b238dd176922f6f1a (patch) | |
| tree | d3fce148baef00b19ece180ca37a78fae6b28947 /plugins | |
| parent | ee8bc91349c7adfb304b6bc396fc756f74cb4707 (diff) | |
fixes #5030 (Telegram: все отправленные сообщения помечаются как отредактированные)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/Dbx_sqlite/src/dbevents.cpp | 1 | ||||
| -rw-r--r-- | plugins/NewStory/src/history_control.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp index 0b934a3e48..814e6428c6 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -285,7 +285,6 @@ BOOL CDbxSQLite::EditEvent(MEVENT hDbEvent, const DBEVENTINFO *dbei) if (tmp.bSent)
tmp.bRead = true;
- tmp.bEdited = true;
mir_cslockfull lock(m_csDbAccess);
sqlite3_stmt *stmt;
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 9a5333884c..a25760ae87 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -504,6 +504,7 @@ void NewstoryListData::EndEditItem(bool bAccept) ptrA szUtf(mir_utf8encodeW(pItem->wtext));
dbei.cbBlob = (int)mir_strlen(szUtf) + 1;
dbei.pBlob = szUtf.detach();
+ dbei.bEdited = true;
db_event_edit(pItem->dbe.getEvent(), &dbei);
}
|
