+1. Down with sponsor!


On Sat, Oct 26, 2013 at 2:26 AM, aranhoide <notifications@github.com> wrote:

> In src/main/java/org/lantern/admin/rest/InvitesResource.java:
>
> > +        return FallbackProxyLauncher.authorizeInvites(ids);
> > +    }
> > +
> > +    @POST
> > +    @Path("/delete")
> > +    @Consumes(MediaType.APPLICATION_JSON)
> > +    public int delete(String[] ids) {
> > +        return new Dao().deletePendingInvites(ids);
> > +    }
> > +
> > +    public static class User {
> > +        private String id;
> > +        private Integer degree;
> > +        private Boolean hasFallback;
> > +        private Collection<String> countries;
> > +        private String sponsor;
>
> sponsor is useless. When approving an invite a useful thing to know is
> the "fallback user" of the inviter (fallbackProxyUserId), that is, to whose
> fallback proxy are we going to direct invitees of this inviter. If that is
> null, the invite will be held until we get a non-null one.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/getlantern/lantern-controller/pull/46/files#r7232995>
> .
>