summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-23 13:28:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-23 13:28:20 +0000
commit20a19cd84f00a2235e1ab000921ae58ace13faa9 (patch)
treed6477be5e1ce781398c9c69a8065112427da1a82 /protocols/FacebookRM/src/connection.cpp
parent12d981da28a6a35dbdcd4d207dc4497f902f287d (diff)
Facebook: proper default group's name handling
git-svn-id: http://svn.miranda-ng.org/main/trunk@11595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}