mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 16:06:23 +00:00
회의 참석자 초대 API 수정
This commit is contained in:
parent
906c9c507e
commit
e74087e811
File diff suppressed because it is too large
Load Diff
@ -114,7 +114,13 @@ public class Meeting {
|
||||
public void addParticipant(String participantEmail) {
|
||||
if (this.participants == null) {
|
||||
this.participants = new ArrayList<>();
|
||||
} else if (!(this.participants instanceof ArrayList)) {
|
||||
// 불변 리스트인 경우 새로운 ArrayList로 변환
|
||||
this.participants = new ArrayList<>(this.participants);
|
||||
}
|
||||
|
||||
if (!this.participants.contains(participantEmail)) {
|
||||
this.participants.add(participantEmail);
|
||||
}
|
||||
this.participants.add(participantEmail);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user