diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-23 19:36:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-23 19:36:38 +0300 |
commit | c8a01589f0570bc9f630c4b498c6fb0cc54c79a4 (patch) | |
tree | bc55a0f16aed3e113b595251f5c5ee2d10c3689a /src/core | |
parent | 1d193f3a887f84ea657f39f9bb3a2e4537426a61 (diff) |
Telegram: file events to store server message id & groupchat user id, if present
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdfile/src/file.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp index e8573eca6b..159a421fe6 100644 --- a/src/core/stdfile/src/file.cpp +++ b/src/core/stdfile/src/file.cpp @@ -321,6 +321,8 @@ static INT_PTR Proto_RecvFileT(WPARAM, LPARAM lParam) DB::EventInfo dbei;
dbei.szModule = Proto_GetBaseAccountName(ccs->hContact);
dbei.timestamp = pre->timestamp;
+ dbei.szId = pre->szId;
+ dbei.szUserId = pre->szUserId;
dbei.eventType = EVENTTYPE_FILE;
dbei.flags = DBEF_UTF;
if (pre->dwFlags & PREF_CREATEREAD)
|