diff options
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r-- | protocols/Twitter/src/contacts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp index 29e6bfef24..6a75e1706b 100644 --- a/protocols/Twitter/src/contacts.cpp +++ b/protocols/Twitter/src/contacts.cpp @@ -211,7 +211,7 @@ bool CTwitterProto::IsMyContact(MCONTACT hContact, bool include_chat) MCONTACT CTwitterProto::UsernameToHContact(const char *name)
{
for (auto &hContact : AccContacts()) {
- if (getByte(hContact, "ChatRoom"))
+ if (Contact_IsGroupChat(hContact))
continue;
if (getMStringA(hContact, TWITTER_KEY_UN) == name)
@@ -224,7 +224,7 @@ MCONTACT CTwitterProto::UsernameToHContact(const char *name) MCONTACT CTwitterProto::FindContactById(const char *id)
{
for (auto &hContact : AccContacts()) {
- if (getByte(hContact, "ChatRoom"))
+ if (Contact_IsGroupChat(hContact))
continue;
if (getMStringA(hContact, TWITTER_KEY_ID) == id)
|