summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:07 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:07 +0000
commitdfc984e97259bab3ab2de2f3b9cca0d9a097550d (patch)
treeb9461d8acc5de1df006f6a8396b2a6dfb36e5d91 /protocols/FacebookRM/src/client.h
parent2cd071fd8de860655b981d22ecac139cd6e4411b (diff)
Facebook: Rework working with timestamps; version bump
Use time_t almost everywhere instead of DWORD and remove fix_timestamp method to replace it with to_timestamp git-svn-id: http://svn.miranda-ng.org/main/trunk@11599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r--protocols/FacebookRM/src/client.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index 87ff2d1f39..8cf95e9468 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -77,12 +77,12 @@ public:
std::string chat_conn_num_;
std::string chat_clientid_;
std::string chat_traceid_;
- bool is_typing_;
- bool is_idle_;
- bool https_;
- time_t last_feeds_update_;
- unsigned __int64 last_notification_time_;
- int msgid_;
+ bool is_typing_;
+ bool is_idle_;
+ bool https_;
+ time_t last_feeds_update_;
+ time_t last_notification_time_;
+ int msgid_;
////////////////////////////////////////////////////////////
@@ -184,7 +184,7 @@ public:
// Messages handling
std::map<std::string, int> messages_ignore;
- std::map<int, DWORD> messages_timestamp;
+ std::map<int, time_t> messages_timestamp;
bool channel();
int send_message(int seqid, MCONTACT, const std::string &message_recipient, const std::string &message_text, std::string *error_text, MessageMethod method, const std::string &captchaPersistData = "", const std::string &captcha = "");