summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/contactcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index 75337b1161..e34eb7b821 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -599,3 +599,10 @@ int CContactCache::getMaxMessageLength()
}
return m_nMax;
}
+
+const MCONTACT CContactCache::getActiveContact() const
+{
+ if (!m_isMeta)
+ return m_hContact;
+ return CallService(MS_MC_GETSRMMSUB, m_hContact, 0);
+}