diff options
author | George Hazan <ghazan@miranda.im> | 2019-12-04 16:08:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-12-04 16:08:03 +0300 |
commit | 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (patch) | |
tree | 59dbb53fc9496d660ec2ef2846a4eab0f1720b88 /protocols/Twitter | |
parent | 3216d8df5cb355f34c82ed10b7e40bab7525b697 (diff) |
GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName
Diffstat (limited to 'protocols/Twitter')
-rw-r--r-- | protocols/Twitter/src/contacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp index 24eecd5112..a8ea8b28af 100644 --- a/protocols/Twitter/src/contacts.cpp +++ b/protocols/Twitter/src/contacts.cpp @@ -196,7 +196,7 @@ int TwitterProto::OnContactDeleted(WPARAM wParam, LPARAM) bool TwitterProto::IsMyContact(MCONTACT hContact, bool include_chat)
{
- char *proto = GetContactProto(hContact);
+ char *proto = Proto_GetBaseAccountName(hContact);
if (proto && mir_strcmp(m_szModuleName, proto) == 0) {
if (include_chat)
return true;
|