Commit 1be4c11f authored by Patrick R. Spendrin's avatar Patrick R. Spendrin

add missing change for deleting admin groups

parent 6c1db772
......@@ -39,4 +39,13 @@ public class MUCRoomAdminsService {
MUCRoomController.getInstance().deleteAffiliation(serviceName, roomName, jid);
return Response.status(Status.OK).build();
}
@DELETE
@Path("/group/{groupname}")
public Response deleteMUCRoomAdminGroup(@PathParam("groupname") String groupname,
@DefaultValue("conference") @QueryParam("servicename") String serviceName,
@PathParam("roomName") String roomName) throws ServiceException {
MUCRoomController.getInstance().deleteAffiliation(serviceName, roomName, groupname);
return Response.status(Status.OK).build();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment