comparison mcabber/src/commands.c @ 506:74dcd0df532e

"/move" does not jump to the buddy in the new group
author Mikael Berthe <mikael@lilotux.net>
date Fri, 11 Nov 2005 22:47:28 +0100
parents 321ae11e7ddb
children 5a2132ba2220
comparison
equal deleted inserted replaced
505:7ffb1a3ed1b8 506:74dcd0df532e
942 942
943 // Call to buddy_setgroup() should be at the end, as current implementation 943 // Call to buddy_setgroup() should be at the end, as current implementation
944 // clones the buddy and deletes the old one (and thus, jid and name are 944 // clones the buddy and deletes the old one (and thus, jid and name are
945 // freed) 945 // freed)
946 jb_updatebuddy(jid, name, newgroupname); 946 jb_updatebuddy(jid, name, newgroupname);
947 scr_RosterUp();
947 buddy_setgroup(bud, newgroupname); 948 buddy_setgroup(bud, newgroupname);
948 949
949 g_free(newgroupname); 950 g_free(newgroupname);
950 update_roster = TRUE; 951 update_roster = TRUE;
951 } 952 }