summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-28 13:53:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-28 13:53:28 +0000
commit70aa67d368abc8ba2b9a03213bad7be1fcad40bf (patch)
tree7c1821393f6a08d48248c7ef0c2e87d1ecef53dd /plugins/TabSRMM
parent73fb8e4057eb14d6bcacb83284ba79a680bb77ab (diff)
fix for user's nicks in IEView
git-svn-id: http://svn.miranda-ng.org/main/trunk@13871 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 35a9a75544..570065774e 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -1196,10 +1196,14 @@ void TSAPI StreamInEvents(HWND hwndDlg, MEVENT hDbEventFirst, int count, int fAp
IEVIEWEVENTDATA evData = { 0 };
if (dbei_s != NULL && hDbEventFirst == 0) {
- event.iType = IEE_LOG_MEM_EVENTS;
-
evData.cbSize = sizeof(evData);
- evData.dwFlags = IEEDF_SENT;
+ event.iType = IEE_LOG_MEM_EVENTS;
+ if (dbei_s->flags & DBEF_SENT)
+ evData.dwFlags = IEEDF_SENT;
+ else {
+ evData.dwFlags = IEEDF_UNICODE_NICK;
+ evData.ptszNick = pcli->pfnGetContactDisplayName(dat->hContact, 0);
+ }
switch (dbei_s->eventType) {
case EVENTTYPE_STATUSCHANGE: evData.iType = IEED_EVENT_STATUSCHANGE; break;
case EVENTTYPE_FILE: evData.iType = IEED_EVENT_FILE; break;