Merge pull request #737 from ritzalam/remove-user-session
- remove user sessions when a user calls the JOIN API but actually f…
This commit is contained in:
commit
217197af1d
@ -215,6 +215,7 @@ public class MeetingService implements MessageListener {
|
|||||||
|
|
||||||
destroyMeeting(m.getInternalId());
|
destroyMeeting(m.getInternalId());
|
||||||
meetings.remove(m.getInternalId());
|
meetings.remove(m.getInternalId());
|
||||||
|
removeUserSessions(m.getInternalId());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -449,7 +450,7 @@ public class MeetingService implements MessageListener {
|
|||||||
|
|
||||||
public void endMeeting(String meetingId) {
|
public void endMeeting(String meetingId) {
|
||||||
log.info("Received request to end meeting=[{}]", meetingId);
|
log.info("Received request to end meeting=[{}]", meetingId);
|
||||||
handle(new EndMeeting(meetingId));
|
handle(new EndMeeting(meetingId));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processEndMeeting(EndMeeting message) {
|
private void processEndMeeting(EndMeeting message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user