summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-10 22:47:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-10 22:47:42 +0300
commit4e69c635f238cc951265e036ef74cef75b9a65c8 (patch)
tree4a8af2c5d841a0551b0c034339fc44ad202eca28 /protocols/FacebookRM/src/entities.h
parent8cad7d3baec2de5e117f115f89482b47ad124a18 (diff)
Facebook: added custom reactions' icons to popups
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