diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-02-12 16:50:52 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-02-12 16:50:52 +0100 |
commit | 1a127084af5c2db48eb9e92c967ca96a06d27d30 (patch) | |
tree | 07349c877888efa5a0d08ea442401305caa3d542 /protocols | |
parent | a481e280c24cc7595a88f0e3f47058ad094772bd (diff) |
Facebook: Fix "Open conversation" target URL
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/constants.h | 2 | ||||
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 6b8bf70949..c1df1e23f7 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define FACEBOOK_URL_PROFILE "http://www.facebook.com/profile.php?id="
#define FACEBOOK_URL_GROUP "http://www.facebook.com/n/?home.php&sk=group_"
#define FACEBOOK_URL_PICTURE "http://graph.facebook.com/%s/picture"
-#define FACEBOOK_URL_CONVERSATION "http://www.facebook.com/messages/"
+#define FACEBOOK_URL_CONVERSATION "http://www.facebook.com/messages/t/"
//#define FACEBOOK_URL_STICKER "http://www.facebook.com/stickers/asset/?sticker_id=%s&image_type=BestEffortImage"
// Connection
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 375ef125c9..b1abf860a0 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -742,7 +742,7 @@ INT_PTR FacebookProto::VisitConversation(WPARAM wParam, LPARAM) if (id == NULL) return 1; - std::string url = FACEBOOK_URL_CONVERSATION + std::string(isChat ? "conversation-" : "") + std::string(id); + std::string url = FACEBOOK_URL_CONVERSATION + std::string(id); OpenUrl(url); return 0; |