diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-17 18:00:05 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-17 18:00:05 +0000 |
commit | 0d8ae90913bd0b53c6af709928e7f5e5a3fc9b50 (patch) | |
tree | 85aaf04425373593c56bb413a158f9102d5ec3ad /protocols/FacebookRM/src/communication.cpp | |
parent | 1c917ac3f485ffac7b4316d633a344fbafcedb78 (diff) |
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
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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_);
|