# HG changeset patch # User Yoshiki Yazawa # Date 1210863422 -32400 # Node ID ac1259fde1d00b25a588f9eec713f3600983b024 # Parent d5f251b37f6b3e6a7864eab86923234723b364c2 due to adaptation to msn style, username of sender has been carried down by one. diff -r d5f251b37f6b -r ac1259fde1d0 pidgin-twitter.c --- a/pidgin-twitter.c Thu May 15 21:44:53 2008 +0900 +++ b/pidgin-twitter.c Thu May 15 23:57:02 2008 +0900 @@ -408,7 +408,11 @@ g_regex_match(regp[which], *str, 0, &match_info); while(g_match_info_matches(match_info)) { - gchar *user = g_match_info_fetch(match_info, 1); + gchar *user = NULL; + if(which == RECIPIENT) + user = g_match_info_fetch(match_info, 1); + else if(which == SENDER) + user = g_match_info_fetch(match_info, 2); twitter_debug("user = %s\n", user); for(candidate = candidates; *candidate; candidate++) {