diff options
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index a2950c07f5..432c00187f 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -66,14 +66,14 @@ bool FacebookProto::IsMyContact(HANDLE hContact, bool include_chat) return false;
}
-HANDLE FacebookProto::ChatIDToHContact(std::string chat_id)
+HANDLE FacebookProto::ChatIDToHContact(std::tstring chat_id)
{
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
if (!IsMyContact(hContact, true))
continue;
- ptrA id(getStringA(hContact, "ChatRoomID"));
- if (id && !strcmp(id, chat_id.c_str()))
+ ptrT id(getTStringA(hContact, "ChatRoomID"));
+ if (id && !_tcscmp(id, chat_id.c_str()))
return hContact;
}
|