summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r--protocols/FacebookRM/src/connection.cpp5
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);
}