diff options
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index 1e83790031..bda82357de 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -544,6 +544,9 @@ static int Meta_MessageWindowEvent(WPARAM wParam, LPARAM lParam) p->m_hSub = db_mc_getMostOnline(cc->contactID);
p->m_hWnd = mwed->hwndWindow;
arMetaWindows.insert(p);
+
+ if (p->m_hSub != db_mc_getDefault(cc->contactID))
+ db_mc_setDefault(cc->contactID, p->m_hSub, false);
}
}
}
|