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.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index e1f9b69faa..57fe178249 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -129,23 +129,10 @@ struct facebook_notification
std::string text;
std::string link;
std::string id;
- const char *icon;
- time_t time;
- bool seen;
- HWND hWndPopup;
-
- facebook_notification()
- {
- this->time = 0;
- this->seen = false;
- this->hWndPopup = nullptr;
- this->icon = nullptr;
- }
-
- void setIcon(const std::string& /*iconUrl*/)
- {
- icon = nullptr;
- }
+ const char *icon = nullptr;
+ time_t time = 0;
+ bool seen = false;
+ HWND hWndPopup = nullptr;
};
struct facebook_newsfeed