diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-22 15:37:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-22 15:37:37 +0000 |
commit | 409d7264947ae132f6185cf5c6d1e4d3ff626f80 (patch) | |
tree | 0871443ee306e6d869e0648d30692457b4c216b5 /plugins/TabSRMM/src/contactcache.cpp | |
parent | 16d1b3ec83d8f2d2f0d49952a8b17cbc5cb3cc8e (diff) |
current sub in tabSRMM untied from the meta services
git-svn-id: http://svn.miranda-ng.org/main/trunk@9553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 7 |
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);
+}
|