summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 2b98b5a393..5274d9d2b2 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -94,7 +94,12 @@ struct facebook_chatroom
bool is_subscribed;
bool read_only;
- facebook_chatroom(std::string thread_id) : thread_id(thread_id) {}
+ facebook_chatroom(std::string thread_id) : thread_id(thread_id) {
+ this->can_reply = true;
+ this->is_archived = false;
+ this->is_subscribed = true;
+ this->read_only = false;
+ }
};
struct facebook_message
@@ -115,7 +120,8 @@ struct facebook_message
facebook_message()
{
this->time = 0;
- this->isUnread = this->isIncoming = true;
+ this->isUnread = true;
+ this->isIncoming = true;
this->isChat = false;
this->type = MESSAGE;
this->flag_ = 0;
@@ -138,6 +144,7 @@ struct facebook_notification
this->time = 0;
this->seen = false;
this->hWndPopup = NULL;
+ this->icon = NULL;
}
void setIcon(const std::string &iconUrl)