diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-04-09 06:58:57 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-04-09 06:58:57 +0000 |
commit | 0ead8bc26f63385a8ee1cba53fb857d32dcd3567 (patch) | |
tree | 0dc8db8ffa1021a81015ad668a5496df4cb0632d /metacontacts/meta_services.c | |
parent | 3ead27606fb235ffe216f80373fe52f373d4f682 (diff) |
secure IM patch by baloo
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@404 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_services.c')
-rw-r--r-- | metacontacts/meta_services.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c index 3ff39e2..cf42ef2 100644 --- a/metacontacts/meta_services.c +++ b/metacontacts/meta_services.c @@ -384,7 +384,7 @@ int Meta_SendMessage(WPARAM wParam,LPARAM lParam) strncpy(szServiceName, PSS_MESSAGE "W", sizeof(szServiceName));
}
- if(options.subhistory) {
+ if(options.subhistory && !(ccs->wParam & PREF_METANODB)) {
// add sent event to subcontact
ZeroMemory(&dbei, sizeof(dbei));
dbei.cbSize = sizeof(dbei);
@@ -544,7 +544,7 @@ int MetaFilter_RecvMessage(WPARAM wParam,LPARAM lParam) ccs->hContact = hSub;
}
- if(options.subhistory) {
+ if(options.subhistory && !(ccs->wParam & PREF_METANODB)) {
// allow event pass through and thereby be added to subcontact history
pre->flags |= (DBGetContactSettingByte(ccs->hContact, META_PROTO, "WindowOpen", 0) ? 0 : PREF_CREATEREAD);
CallService(MS_PROTO_CHAINRECV, wParam, (LPARAM)ccs); // pass through as normal
|