From 0daeae053e576727cf7132e947efcbab17b4962a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 1 Dec 2014 13:32:34 +0000 Subject: Facebook: Some other changes git-svn-id: http://svn.miranda-ng.org/main/trunk@11198 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/process.cpp') diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 406e8dfaf5..b4e182842e 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -568,7 +568,7 @@ void FacebookProto::SyncThreads(void*) std::string timestamp = "0"; if (ptrtimestamp != NULL) - timestamp = std::string(ptrtimestamp); // FIXME: is std::string(..) needed? + timestamp = ptrtimestamp; unsigned __int64 time = _atoi64(timestamp.c_str()); @@ -752,7 +752,7 @@ void FacebookProto::ReceiveMessages(std::vector messages, boo UpdateChat(tthread_id.c_str(), messages[i]->user_id.c_str(), messages[i]->sender_name.c_str(), messages[i]->message_text.c_str(), timestamp); // Automatically mark message as read because chatroom doesn't support onRead event (yet) - // ForkThread(&FacebookProto::ReadMessageWorker, (void*)hChatContact); // FIXME: temporary disabled + ForkThread(&FacebookProto::ReadMessageWorker, (void*)hChatContact); } else { // Single-user message debugLogA(" Got message: %s", messages[i]->message_text.c_str()); -- cgit v1.2.3