diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-17 10:30:01 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-17 10:30:01 +0000 |
commit | a992047f2696936927f9b220592ee0edd030bc42 (patch) | |
tree | 901828029bee4d75d5af83277aaf363b7533ee00 /protocols/FacebookRM/src/proto.cpp | |
parent | 13887196e493841b2e141e316987de2299471bc0 (diff) |
Facebook: Use better page prefix (emoji), and make it customizable
git-svn-id: http://svn.miranda-ng.org/main/trunk@17104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index ef882975e0..ed2125bed5 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -47,6 +47,10 @@ FacebookProto::FacebookProto(const char* proto_name, const TCHAR* username) : if (locale != NULL) m_locale = locale; + // Load custom page prefix, if set + ptrT pagePrefix(getTStringA(FACEBOOK_KEY_PAGE_PREFIX)); + m_pagePrefix = (pagePrefix != NULL) ? _T2A(pagePrefix, CP_UTF8) : "\xF0\x9F\x93\x84"; // emoji :page_facing_up: + if (m_tszDefaultGroup == NULL) m_tszDefaultGroup = mir_tstrdup(_T("Facebook")); |