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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index acb395d52a..38869e326c 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -88,10 +88,11 @@ struct facebook_notification
std::string user_id;
std::string text;
std::string link;
+ std::string id;
facebook_notification()
{
- this->user_id = this->text = this->link = "";
+ this->user_id = this->text = this->link = this->id = "";
}
};
@@ -132,7 +133,9 @@ struct send_typing
struct popup_data
{
+ popup_data(FacebookProto *proto) : proto(proto) {}
popup_data(FacebookProto *proto, std::string url) : proto(proto), url(url) {}
FacebookProto *proto;
std::string url;
+ std::string notification_id;
}; \ No newline at end of file