diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-12-18 18:52:24 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-12-18 18:54:40 +0100 |
commit | 8b3c1e649624c2f270ade8d6f0fafd8b9cf3e493 (patch) | |
tree | f356add4c865f5e4dd944f9a1bc3bd1dab576955 /protocols/FacebookRM | |
parent | 71bb9529a122f347b62dee2a20c81becc51b5ac8 (diff) |
Facebook: Fix reaction icon urls (fixes #641)
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index 5274d9d2b2..0026606ca6 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -149,17 +149,17 @@ struct facebook_notification void setIcon(const std::string &iconUrl) { - if (iconUrl == "https://www.facebook.com/rsrc.php/v2/yj/r/6WffvhOaXGY.png") + if (iconUrl == "https://www.facebook.com/rsrc.php/v3/yj/r/6WffvhOaXGY.png") icon = "like"; - else if (iconUrl == "https://www.facebook.com/rsrc.php/v2/y1/r/RvGKklgAefT.png") + else if (iconUrl == "https://www.facebook.com/rsrc.php/v3/y1/r/RvGKklgAefT.png") icon = "love"; - else if (iconUrl == "https://www.facebook.com/rsrc.php/v2/yV/r/McJA2ZjdJmf.png") + else if (iconUrl == "https://www.facebook.com/rsrc.php/v3/yV/r/McJA2ZjdJmf.png") icon = "haha"; - else if (iconUrl == "https://www.facebook.com/rsrc.php/v2/yL/r/IfsimazVjj4.png") + else if (iconUrl == "https://www.facebook.com/rsrc.php/v3/yL/r/IfsimazVjj4.png") icon = "wow"; - else if (iconUrl == "https://www.facebook.com/rsrc.php/v2/yH/r/jOeSrGlcPLG.png") + else if (iconUrl == "https://www.facebook.com/rsrc.php/v3/yH/r/jOeSrGlcPLG.png") icon = "sad"; - else if (iconUrl == "https://www.facebook.com/rsrc.php/v2/yL/r/IfsimazVjj4.png") + else if (iconUrl == "https://www.facebook.com/rsrc.php/v3/y9/r/6K8v8Ju8kL2.png") icon = "angry"; else icon = NULL; |