summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-06 15:14:07 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-06 15:14:07 +0300
commit38b24044db30c606e9bb3ebe0849b16c9fdc6e62 (patch)
treeaf2822805df50b5f3cc18abc2d709ace3140342d /plugins/Dbx_sqlite/src/dbevents.cpp
parent5e232971e1eb3a0ce665a3e34b982db49676e653 (diff)
fixes #3667 (Telegram: add message edit feature)
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp
index 1206b30b09..d8f5bc242e 100644
--- a/plugins/Dbx_sqlite/src/dbevents.cpp
+++ b/plugins/Dbx_sqlite/src/dbevents.cpp
@@ -291,7 +291,7 @@ BOOL CDbxSQLite::EditEvent(MEVENT hDbEvent, const DBEVENTINFO *dbei)
lock.unlock();
DBFlush();
- NotifyEventHooks(g_hevEventEdited, 0, hDbEvent);
+ NotifyEventHooks(g_hevEventEdited, GetEventContact(hDbEvent), hDbEvent);
return 0;
}