Beispiel #1
0
        private void acceptRequest(User user)
        {
            members.Add(user);
            user.removeInvite(groupID);
            groupRequests.Remove(user);
            string message = "Group " + groupID + " has accepdet your request! \tWelcome!";

            user.addGroup(groupID);
            user.addNews(message);
        }