Exemple #1
0
        private void ignoreRequest(User user)
        {
            string message = "Group " + groupID.ToString() + " has ignored your request!";

            user.removeInvite(groupID);
            groupRequests.Remove(user);
        }
Exemple #2
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);
        }