diff options
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index cb070adb20..fae1246351 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -23,7 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "common.h" FacebookProto::FacebookProto(const char* proto_name, const TCHAR* username) : -PROTO<FacebookProto>(proto_name, username) + PROTO<FacebookProto>(proto_name, username), + m_tszDefaultGroup(getTStringA(FACEBOOK_KEY_DEF_GROUP)) { facy.parent = this; @@ -48,6 +49,9 @@ PROTO<FacebookProto>(proto_name, username) if (locale != NULL) m_locale = locale; + if (m_tszDefaultGroup == NULL) + m_tszDefaultGroup = mir_tstrdup(_T("Facebook")); + CreateProtoService(PS_CREATEACCMGRUI, &FacebookProto::SvcCreateAccMgrUI); CreateProtoService(PS_GETMYAWAYMSG, &FacebookProto::GetMyAwayMsg); CreateProtoService(PS_GETMYAVATART, &FacebookProto::GetMyAvatar); |