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:
Richard Alam 2015-08-05 10:17:30 -04:00
commit 217197af1d

View File

@ -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) {