Show
Ignore:
Timestamp:
06/13/08 03:40:47 (6 months ago)
Author:
flynd
Message:

Use new user group handling function so we need less code here in the plugin.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/views/userviewbase.cpp

    r6193 r6279  
    286286        if (!dropId.isEmpty()) 
    287287        { 
    288           gUserManager.AddUserToGroup(dropId.toLatin1(), dropPpid, gid); 
     288          gUserManager.SetUserInGroup(dropId.toLatin1(), dropPpid, GROUPS_USER, gid, true); 
    289289          myContactList->updateUser(dropId.toLatin1(), dropPpid); 
    290290        }