# HG changeset patch # User Yoshiki Yazawa # Date 1274109179 -32400 # Node ID ff078879e68e359d28e70eefed51743b5c52e240 # Parent 29084c253e689eccb391bd247fa34623a7086cbf include in_reply_to information to the internal tag even in posting message diff -r 29084c253e68 -r ff078879e68e twitter_api.c --- a/twitter_api.c Fri Apr 16 12:28:22 2010 +0900 +++ b/twitter_api.c Tue May 18 00:12:59 2010 +0900 @@ -278,7 +278,8 @@ PurpleMessageFlags flag = PURPLE_MESSAGE_RECV; msg = g_strdup_printf("%s: %s pttag=%llu:%llu:%s", - st->screen_name, st->text, + st->screen_name, + st->text, (long long unsigned int)st->id, (long long unsigned int)st->in_reply_to_status_id, st->in_reply_to_screen_name ? st->in_reply_to_screen_name : ""); @@ -471,9 +472,11 @@ xmlFreeDoc(doc); xmlCleanupParser(); - m = g_strdup_printf("%s pttag=%llu:0:", + m = g_strdup_printf("%s pttag=%llu:%llu:%s", tm->status, - (long long unsigned int)st->id); + (long long unsigned int)st->id, + (long long unsigned int)st->in_reply_to_status_id, + st->in_reply_to_screen_name ? st->in_reply_to_screen_name : ""); purple_conv_im_write(conv->u.im, purple_account_get_username(tm->account),