| 203 purple_debug(PURPLE_DEBUG_INFO, "QQ", "Change status OK\n"); |
203 purple_debug(PURPLE_DEBUG_INFO, "QQ", "Change status OK\n"); |
| 204 name = uid_to_purple_name(qd->uid); |
204 name = uid_to_purple_name(qd->uid); |
| 205 b = purple_find_buddy(gc->account, name); |
205 b = purple_find_buddy(gc->account, name); |
| 206 g_free(name); |
206 g_free(name); |
| 207 q_bud = (b == NULL) ? NULL : (qq_buddy *) b->proto_data; |
207 q_bud = (b == NULL) ? NULL : (qq_buddy *) b->proto_data; |
| 208 if (q_bud != NULL) { |
208 qq_update_buddy_contact(gc, q_bud); |
| 209 qq_update_buddy_contact(gc, q_bud); |
|
| 210 } |
|
| 211 } |
209 } |
| 212 } |
210 } |
| 213 |
211 |
| 214 /* it is a server message indicating that one of my buddies has changed its status */ |
212 /* it is a server message indicating that one of my buddies has changed its status */ |
| 215 void qq_process_friend_change_status(guint8 *buf, gint buf_len, PurpleConnection *gc) |
213 void qq_process_friend_change_status(guint8 *buf, gint buf_len, PurpleConnection *gc) |