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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 0be3d2d396..94fb9196f3 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -110,6 +110,7 @@ struct facebook_message
bool isIncoming;
bool isUnread;
bool isChat;
+ MessageType type;
int flag_;
@@ -119,6 +120,7 @@ struct facebook_message
this->time = 0;
this->isUnread = this->isIncoming = true;
this->isChat = false;
+ this->type = MESSAGE;
this->flag_ = 0;
}
@@ -133,6 +135,7 @@ struct facebook_message
this->isIncoming = msg.isIncoming;
this->isUnread = msg.isUnread;
this->isChat = msg.isChat;
+ this->type = msg.type;
this->flag_ = msg.flag_;
}
};