diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-11 17:07:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-11 17:07:04 +0300 |
commit | 8f9292d483fcf3a10d9284512359c4562f5311eb (patch) | |
tree | 3593ca1eb6a5a4c3b2ef454fa6b4944d4b8da8c4 /protocols/Discord/src | |
parent | 5f4f070347d20fc85b588138217aa744141e8053 (diff) |
DB::FILE_BLOB - file events' access unification
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/server.cpp b/protocols/Discord/src/server.cpp index 7ac73e38bf..839cf698b5 100644 --- a/protocols/Discord/src/server.cpp +++ b/protocols/Discord/src/server.cpp @@ -124,7 +124,7 @@ void CDiscordProto::OnReceiveHistory(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest _i64toa_s(msgid, szMsgId, _countof(szMsgId), 10);
MEVENT hDbEvent = db_event_getById(m_szModuleName, szMsgId);
if (hDbEvent != 0)
- bSucceeded = 0 == db_event_edit(pUser->hContact, hDbEvent, &dbei);
+ bSucceeded = 0 == db_event_edit(hDbEvent, &dbei);
if (!bSucceeded) {
dbei.szId = szMsgId;
|