summaryrefslogtreecommitdiff
path: root/protocols/Twitter
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter')
-rw-r--r--protocols/Twitter/src/contacts.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp
index 7f22e8e700..caed5ebeb9 100644
--- a/protocols/Twitter/src/contacts.cpp
+++ b/protocols/Twitter/src/contacts.cpp
@@ -245,10 +245,7 @@ MCONTACT TwitterProto::AddToClientList(const char *name, const char *status)
db_set_utf(hContact, "CList", "StatusMsg", status);
Skin_PlaySound("TwitterNewContact");
- ptrW wszGroup(getWStringA(TWITTER_KEY_GROUP));
- if (wszGroup)
- db_set_ws(hContact, "CList", "Group", wszGroup);
-
+ Clist_SetGroup(hContact, getMStringW(TWITTER_KEY_GROUP));
return hContact;
}
db_delete_contact(hContact);