| 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, |