diff --git a/src/main/java/org/ntlab/acanthus_server/entities/Animation.java b/src/main/java/org/ntlab/acanthus_server/entities/Animation.java index ce9c108..421a7a3 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/Animation.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/Animation.java @@ -84,5 +84,13 @@ } //----------------------------------------------------------------- + //招待されて人が招待を取り消す + public void deleteAccountFromAnimationInvites(Integer aid, String invitedUid) { + Animation animation = gallery.getAnimationByAid(aid); + Account invitedAccount = accounts.getAccountByUid(Integer.parseInt(invitedUid)); + invites.remove(invitedAccount); + } + + //----------------------------------------------------------------- }