|
|
@ -71,7 +71,7 @@ public class ListMember { |
|
|
|
if (member == null) { |
|
|
|
if (member == null) { |
|
|
|
ListMember.create(list, moderator, ListMember.STATE_MODERATOR); |
|
|
|
ListMember.create(list, moderator, ListMember.STATE_MODERATOR); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
member.setState(ListMember.STATE_MODERATOR); |
|
|
|
member.setState((member.state | STATE_MODERATOR) ^ STATE_AWAITING_CONFIRMATION); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (SQLException e) { |
|
|
|
} catch (SQLException e) { |
|
|
|
LOG.warn("Failed to make {} a moderator of {}",moderator.email(),list.email(),e); |
|
|
|
LOG.warn("Failed to make {} a moderator of {}",moderator.email(),list.email(),e); |
|
|
|