diff options
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp index 387dfe99cf..9dce31dae5 100644 --- a/protocols/FacebookRM/src/connection.cpp +++ b/protocols/FacebookRM/src/connection.cpp @@ -190,9 +190,8 @@ bool FacebookProto::NegotiateConnection() facy.chat_clientid_ = utils::text::rand_string(8, "0123456789abcdef"); // Create default group for new contacts - ptrT groupName(getTStringA(FACEBOOK_KEY_DEF_GROUP)); - if (groupName != NULL) - Clist_CreateGroup(0, groupName); + if (m_tszDefaultGroup) + Clist_CreateGroup(0, m_tszDefaultGroup); return facy.login(username, password); } |