comparison libgaim/protocols/qq/group_find.c @ 14319:69f594f56de5

[gaim-migrate @ 17012] Removed the prefix before user IDs, it was giving the Adium folks a hard time. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Thu, 24 Aug 2006 08:04:46 +0000
parents 60b1bc8dbf37
children 8ff8f1c897b5
comparison
equal deleted inserted replaced
14318:437ce90442cf 14319:69f594f56de5
36 qq_buddy *member; 36 qq_buddy *member;
37 GList *list; 37 GList *list;
38 38
39 g_return_val_if_fail(gc != NULL && who != NULL, NULL); 39 g_return_val_if_fail(gc != NULL && who != NULL, NULL);
40 40
41 /* TODO checkbox for this in UI */
41 /* if it starts with QQ_NAME_PREFIX, we think it is valid name already 42 /* if it starts with QQ_NAME_PREFIX, we think it is valid name already
42 * otherwise we think it is nickname and try to find the matching gaim_name */ 43 * otherwise we think it is nickname and try to find the matching gaim_name */
44 /*
43 if (gaim_str_has_prefix(who, QQ_NAME_PREFIX) && gaim_name_to_uid(who) > 0) 45 if (gaim_str_has_prefix(who, QQ_NAME_PREFIX) && gaim_name_to_uid(who) > 0)
44 return (gchar *) who; 46 return (gchar *) who;
47 */
45 48
46 group = qq_group_find_by_channel(gc, channel); 49 group = qq_group_find_by_channel(gc, channel);
47 g_return_val_if_fail(group != NULL, NULL); 50 g_return_val_if_fail(group != NULL, NULL);
48 51
49 list = group->members; 52 list = group->members;