diff options
author | George Hazan <george.hazan@gmail.com> | 2024-04-07 20:22:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-04-07 20:22:11 +0300 |
commit | c22018804a628a2577a853cdb203c8b45890a4ca (patch) | |
tree | 78a8017db2d4eb98427a0181a86b9715385fce3f /plugins/NewStory/src/history_array.cpp | |
parent | 87e7faeba43caf78eb9f5b08350e1fd07268d7cd (diff) |
fixes #4334 (NewStory: при ответе в исходное сообщение подставляется время ответа)
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 5c4fd60c10..09cb998927 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -443,10 +443,10 @@ void ItemData::load(bool bLoadAlways) CMStringW str, wszNick;
wchar_t wszTime[100];
- TimeZone_PrintTimeStamp(0, dbe.timestamp, L"D t", wszTime, _countof(wszTime), 0);
+ TimeZone_PrintTimeStamp(0, dbei.timestamp, L"D t", wszTime, _countof(wszTime), 0);
- if (Contact::IsGroupChat(hContact) && dbe.szUserId)
- wszNick = Utf2T(dbe.szUserId);
+ if (Contact::IsGroupChat(hContact) && dbei.szUserId)
+ wszNick = Utf2T(dbei.szUserId);
else if (dbei.flags & DBEF_SENT) {
if (char *szProto = Proto_GetBaseAccountName(hContact))
wszNick = ptrW(Contact::GetInfo(CNF_DISPLAY, 0, szProto));
|