diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-06-06 15:18:35 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-06-06 15:36:07 +0300 |
| commit | 59c69952e5a14de5e6a4e9d567aaaf0ce7685d86 (patch) | |
| tree | ecb4f1a27401356fa604bac6edcf49b4cfdb43cd /src/mir_app | |
| parent | d9a702e80233b1fd7e6d9476793bef89b9181b04 (diff) | |
Telegram protocol not to use db_event_edit to update reactions, because it exports a message each time
Diffstat (limited to 'src/mir_app')
| -rw-r--r-- | src/mir_app/src/MDatabaseCommon.cpp | 5 | ||||
| -rw-r--r-- | src/mir_app/src/mir_app.def | 1 | ||||
| -rw-r--r-- | src/mir_app/src/mir_app64.def | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/MDatabaseCommon.cpp b/src/mir_app/src/MDatabaseCommon.cpp index 2d4d774455..c59d832629 100644 --- a/src/mir_app/src/MDatabaseCommon.cpp +++ b/src/mir_app/src/MDatabaseCommon.cpp @@ -553,6 +553,11 @@ STDMETHODIMP_(int) MDatabaseCommon::SetEventJson(MEVENT, const char *, DBVARIANT return 1;
}
+STDMETHODIMP_(int) MDatabaseCommon::SetEventJson(MEVENT, const char *)
+{
+ return 1;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// Resident settings
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def index ef8f3858d5..d5916b76fa 100644 --- a/src/mir_app/src/mir_app.def +++ b/src/mir_app/src/mir_app.def @@ -1019,3 +1019,4 @@ Proto_CanDeleteHistory @1118 NONAME ?iHideTime@Clist@@3V?$CMOption@G@@A @1152 NONAME
?iAlpha@Clist@@3V?$CMOption@E@@A @1153 NONAME
?iAutoAlpha@Clist@@3V?$CMOption@E@@A @1154 NONAME
+?SetEventJson@MDatabaseCommon@@UAGHIPBD@Z @1155 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def index f69bb6e58d..8682876159 100644 --- a/src/mir_app/src/mir_app64.def +++ b/src/mir_app/src/mir_app64.def @@ -1019,3 +1019,4 @@ Proto_CanDeleteHistory @1118 NONAME ?iHideTime@Clist@@3V?$CMOption@G@@A @1152 NONAME
?iAlpha@Clist@@3V?$CMOption@E@@A @1153 NONAME
?iAutoAlpha@Clist@@3V?$CMOption@E@@A @1154 NONAME
+?SetEventJson@MDatabaseCommon@@UEAAHIPEBD@Z @1155 NONAME
|
