diff options
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index b80a75da1b..d1f1a48dcc 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -66,11 +66,14 @@ struct facebook_message std::string sender_name;
std::string message_id;
DWORD time;
+ bool isIncoming;
+ bool isUnread;
facebook_message()
{
this->user_id = this->message_text = this->sender_name = this->message_id = "";
this->time = 0;
+ this->isUnread = this->isIncoming = true;
}
facebook_message(const facebook_message& msg)
@@ -80,6 +83,8 @@ struct facebook_message this->sender_name = msg.sender_name;
this->message_id = msg.message_id;
this->time = msg.time;
+ this->isIncoming = msg.isIncoming;
+ this->isUnread = msg.isUnread;
}
};
|