From 0d8ae90913bd0b53c6af709928e7f5e5a3fc9b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 17 May 2013 18:00:05 +0000 Subject: Facebook: Added few options items - use local time, send seen when marking read, select server to open urls. git-svn-id: http://svn.miranda-ng.org/main/trunk@4703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'protocols/FacebookRM/src/communication.cpp') diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 2cf3f4cdf7..c216eeccc9 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -547,6 +547,14 @@ std::string facebook_client::get_newsfeed_type() return feed_types[feed_type].id; } +std::string facebook_client::get_server_type() +{ + BYTE server_type = db_get_b(NULL, parent->m_szModuleName, FACEBOOK_KEY_SERVER_TYPE, 0); + if (server_type < 0 || server_type >= SIZEOF(server_types)) + server_type = 0; + return server_types[server_type].id; +} + char* facebook_client::load_cookies() { ScopedLock s(cookies_lock_); -- cgit v1.2.3