diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-08 13:30:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-08 13:30:36 +0000 |
commit | 149298bd03dcfce00815d798c9f670e8ea24e7e0 (patch) | |
tree | f9fa1a9215fca876599e465e278afaa21b22d73e /protocols/WhatsApp/src/contacts.cpp | |
parent | 8be3a7a616f0739959fb0d4f5266973510bd4142 (diff) |
support for private messages in chats
git-svn-id: http://svn.miranda-ng.org/main/trunk@12055 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/contacts.cpp')
-rw-r--r-- | protocols/WhatsApp/src/contacts.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/WhatsApp/src/contacts.cpp b/protocols/WhatsApp/src/contacts.cpp index e1a3a33bf1..d1146a5ca6 100644 --- a/protocols/WhatsApp/src/contacts.cpp +++ b/protocols/WhatsApp/src/contacts.cpp @@ -42,10 +42,7 @@ MCONTACT WhatsAppProto::AddToContactList(const std::string &jid, const char *new setString(hContact, "MirVer", "WhatsApp");
db_unset(hContact, "CList", "MyHandle");
db_set_b(hContact, "CList", "NotOnList", 1);
-
- ptrT tszGroup(getTStringA(WHATSAPP_KEY_DEF_GROUP));
- if (tszGroup)
- db_set_ts(hContact, "CList", "Group", tszGroup);
+ db_set_ts(hContact, "CList", "Group", m_defaultGroup);
if (new_name != NULL)
db_set_utf(hContact, m_szModuleName, WHATSAPP_KEY_NICK, new_name);
|