diff options
-rw-r--r-- | include/m_metacontacts.h | 3 | ||||
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 55beb66572..9ba80dd801 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -79,8 +79,7 @@ MCONTACT __forceinline db_mc_getMostOnline(MCONTACT hContact) }
MCONTACT __forceinline db_mc_getSrmmSub(MCONTACT hContact)
-{
- return CallService(MS_MC_GETSRMMSUB, hContact, 0);
+{ return CallService(MS_MC_GETSRMMSUB, hContact, 0);
}
// checks whether metacontacts are enabled
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index a9d817c2e2..fab10869f0 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -602,5 +602,5 @@ int CContactCache::getMaxMessageLength() const MCONTACT CContactCache::getActiveContact() const
{
- return (m_isMeta) ? m_hContact : db_mc_getSrmmSub(m_hContact);
+ return (m_isMeta) ? db_mc_getSrmmSub(m_hContact) : m_hContact;
}
|