libpurple/protocols/qq/group_internal.c

branch
openq
changeset 24337
09fc304dae73
parent 24314
587e97c2b707
child 24341
02abffea97fe
equal deleted inserted replaced
24335:09c1cf17fabc 24337:09fc304dae73
61 GHashTable *components; 61 GHashTable *components;
62 PurpleGroup *g; 62 PurpleGroup *g;
63 PurpleChat *chat; 63 PurpleChat *chat;
64 components = qq_group_to_hashtable(group); 64 components = qq_group_to_hashtable(group);
65 chat = purple_chat_new(purple_connection_get_account(gc), group->title_utf8, components); 65 chat = purple_chat_new(purple_connection_get_account(gc), group->title_utf8, components);
66 g = qq_get_purple_group(PURPLE_GROUP_QQ_QUN); 66 g = qq_create_group(PURPLE_GROUP_QQ_QUN);
67 purple_blist_add_chat(chat, g, NULL); 67 purple_blist_add_chat(chat, g, NULL);
68 purple_debug_info("QQ", "You have added group \"%s\" to blist locally\n", group->title_utf8); 68 purple_debug_info("QQ", "You have added group \"%s\" to blist locally\n", group->title_utf8);
69 } 69 }
70 70
71 /* Create a dummy qq_group, which includes only internal_id, ext_id, 71 /* Create a dummy qq_group, which includes only internal_id, ext_id,

mercurial