comparison src/protocols/oscar/oscar.c @ 4303:22ebfa41525a

[gaim-migrate @ 4557] This fixes a bug when moving buddies around within a group. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Jan 2003 00:02:45 +0000
parents 6c67b7bfe6cf
children b3a14484fc2f
comparison
equal deleted inserted replaced
4302:bc125db09cd0 4303:22ebfa41525a
4030 } 4030 }
4031 4031
4032 #ifndef NOSSI 4032 #ifndef NOSSI
4033 static void oscar_move_buddy(struct gaim_connection *gc, const char *name, const char *old_group, const char *new_group) { 4033 static void oscar_move_buddy(struct gaim_connection *gc, const char *name, const char *old_group, const char *new_group) {
4034 struct oscar_data *od = (struct oscar_data *)gc->proto_data; 4034 struct oscar_data *od = (struct oscar_data *)gc->proto_data;
4035 if (od->sess->ssi.received_data) { 4035 if (od->sess->ssi.received_data && strcmp(old_group, new_group)) {
4036 debug_printf("ssi: moving buddy %s from group %s to group %s\n", name, old_group, new_group); 4036 debug_printf("ssi: moving buddy %s from group %s to group %s\n", name, old_group, new_group);
4037 aim_ssi_movebuddy(od->sess, od->conn, old_group, new_group, name); 4037 aim_ssi_movebuddy(od->sess, od->conn, old_group, new_group, name);
4038 } 4038 }
4039 } 4039 }
4040 4040