diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-11-17 22:23:42 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-11-17 22:23:42 +0000 |
commit | 989fa6c77d1b8fd1b9dc412b6948947cf5b170cb (patch) | |
tree | d27341054c2f5ea2f8415d4202166341f3aa12f6 /protocols/FacebookRM/src/entities.h | |
parent | 6029781c4a2ca30552d96de331a640c653d8bfba (diff) |
Facebook: Experimental messages sync at login (for last 24-hours only) (patch by Vojtěch Kinkor, thanks)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index 94fb9196f3..3636b3508c 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -106,6 +106,7 @@ struct facebook_message std::string message_text; std::string message_id; std::string thread_id; + std::string timestamp; DWORD time; bool isIncoming; bool isUnread; @@ -116,7 +117,7 @@ struct facebook_message facebook_message() { - this->user_id = this->message_text = this->sender_name = this->message_id = this->thread_id = ""; + this->user_id = this->message_text = this->sender_name = this->message_id = this->thread_id = this->timestamp = ""; this->time = 0; this->isUnread = this->isIncoming = true; this->isChat = false; @@ -131,6 +132,7 @@ struct facebook_message this->message_text = msg.message_text; this->message_id = msg.message_id; this->message_id = msg.thread_id; + this->timestamp = msg.timestamp; this->time = msg.time; this->isIncoming = msg.isIncoming; this->isUnread = msg.isUnread; |