summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/contacts.cpp')
-rw-r--r--protocols/Twitter/src/contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp
index da9ce0d79c..763ce1f699 100644
--- a/protocols/Twitter/src/contacts.cpp
+++ b/protocols/Twitter/src/contacts.cpp
@@ -214,7 +214,7 @@ bool TwitterProto::IsMyContact(HANDLE hContact,bool include_chat)
if(proto && strcmp(m_szModuleName,proto) == 0) {
if(include_chat)
return true;
- return db_get_b(hContact,m_szModuleName,"ChatRoom",0) == 0;
+ return !isChatRoom(hContact);
}
else return false;
}