comparison libpurple/protocols/qq/group_info.c @ 24079:1bdf7b602684

2008.10.07 - ccpaging <ccpaging(at)gmail.com> * Update qun conversation * Drop group_conv.c and group_conv.h
author SHiNE CsyFeK <csyfek@gmail.com>
date Wed, 22 Oct 2008 14:58:32 +0000
parents ce94189f15ad
children 818ab62006f5
comparison
equal deleted inserted replaced
24078:0a92aa673a33 24079:1bdf7b602684
245 } 245 }
246 246
247 conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, 247 conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT,
248 group->title_utf8, purple_connection_get_account(gc)); 248 group->title_utf8, purple_connection_get_account(gc));
249 if(NULL == conv) { 249 if(NULL == conv) {
250 purple_debug_warning("QQ", 250 purple_debug_warning("QQ", "Conversation \"%s\" is not opened\n", group->title_utf8);
251 "Conversation \"%s\" is not open, do not set topic\n", group->title_utf8);
252 return; 251 return;
253 } 252 }
254 253
255 topic_utf8 = g_strdup_printf("%d %s", group->ext_id, group->notice_utf8); 254 topic_utf8 = g_strdup_printf("%d %s", group->ext_id, group->notice_utf8);
256 purple_debug_info("QQ", "Set chat topic to %s\n", topic_utf8); 255 purple_debug_info("QQ", "Set chat topic to %s\n", topic_utf8);