summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-29 12:43:33 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-29 12:43:36 +0300
commit024c78cab1ced5313e1dbd9a2841e7cf4cd8ead4 (patch)
treeb61c549fe4ea7d6e20bdd04c58858379896ad5fd /src
parent814dea463f6dcabe70168b7f56e061d306d64144 (diff)
old crutch removed
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/db.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mir_core/src/db.cpp b/src/mir_core/src/db.cpp
index 8fd08f873d..e653d51a5f 100644
--- a/src/mir_core/src/db.cpp
+++ b/src/mir_core/src/db.cpp
@@ -506,9 +506,8 @@ MIR_CORE_DLL(MEVENT) db_event_replace(MCONTACT hContact, const DBEVENTINFO *dbei
ret = db_event_getById(dbei->szModule, dbei->szId);
if (!ret)
ret = db_event_add(hContact, dbei);
- // do not uncomment
- // else
- // db_event_edit(hContact, ret, dbei);
+ else
+ db_event_edit(ret, dbei);
return ret;
}