diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-16 21:40:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-16 21:40:14 +0000 |
commit | 831ad8a0121f9f9ee5c4f38d4a0d209b3c2bdb60 (patch) | |
tree | e362f0459b19341b213e5ca7de87af699564beab /src/modules/chat/chat_svc.cpp | |
parent | 41ba18e9cb1c340cb80c637817231b487c54562e (diff) |
kernel chats, part 3, tabsrmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@7684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/chat_svc.cpp')
-rw-r--r-- | src/modules/chat/chat_svc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp index a89d70cc3e..f39318bc32 100644 --- a/src/modules/chat/chat_svc.cpp +++ b/src/modules/chat/chat_svc.cpp @@ -397,12 +397,12 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam) case GC_EVENT_TOPIC:
if (si = ci.SM_FindSession(gce->pDest->ptszID, gce->pDest->pszModule)) {
if (gce->ptszText) {
- replaceStrT(si->ptszTopic, gce->ptszText);
- db_set_ts(si->hContact, si->pszModule, "Topic", RemoveFormatting(si->ptszTopic));
+ replaceStrT(si->ptszTopic, RemoveFormatting(gce->ptszText));
+ db_set_ts(si->hContact, si->pszModule, "Topic", si->ptszTopic);
if (ci.OnSetTopic)
ci.OnSetTopic(si);
if (db_get_b(NULL, "Chat", "TopicOnClist", 0))
- db_set_ts(si->hContact, "CList", "StatusMsg", RemoveFormatting(si->ptszTopic));
+ db_set_ts(si->hContact, "CList", "StatusMsg", si->ptszTopic);
}
}
break;
|