summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/chat.cpp')
-rw-r--r--protocols/Twitter/src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/chat.cpp b/protocols/Twitter/src/chat.cpp
index 96ad8af6da..5a03d293a7 100644
--- a/protocols/Twitter/src/chat.cpp
+++ b/protocols/Twitter/src/chat.cpp
@@ -198,7 +198,7 @@ void TwitterProto::SetChatStatus(int status)
{
// Add all friends to contact list
for(HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
- if( db_get_b(hContact, m_szModuleName, "ChatRoom", 0))
+ if( isChatRoom(hContact))
continue;
DBVARIANT uid,nick;