summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-14 12:13:11 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-14 12:13:11 +0000
commit6ddbe0d66de5c6ef05c5bde9be9766eb23df1704 (patch)
tree6d9f7386ffece0206f6fb6b5b0360236b67ad9f5 /protocols/FacebookRM/src/entities.h
parent73af3297ebf6253ce4bad65545391941a7c0f179 (diff)
Facebook: Don't load "unread messages" which we received already (but didn't read them yet)
- this needs further optimalization - also it makes FACEBOOK_KEY_MESSAGE_ID no longer resident git-svn-id: http://svn.miranda-ng.org/main/trunk@8973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index ecb54136bb..f9a8283e36 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -107,12 +107,15 @@ struct facebook_message
bool isUnread;
bool isChat;
+ int flag_;
+
facebook_message()
{
this->user_id = this->message_text = this->sender_name = this->message_id = this->thread_id = "";
this->time = 0;
this->isUnread = this->isIncoming = true;
this->isChat = false;
+ this->flag_ = 0;
}
facebook_message(const facebook_message& msg)
@@ -126,6 +129,7 @@ struct facebook_message
this->isIncoming = msg.isIncoming;
this->isUnread = msg.isUnread;
this->isChat = msg.isChat;
+ this->flag_ = msg.flag_;
}
};