diff options
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
|