Omaha #3705 fixed collaboration public room empty participants list problem

Change-Id: I25e35b6f5dc1266191c04131b69c840ccd76363e

Former-commit-id: 4089f14d57 [formerly 251a206c409855ee105c97bdbfe80715142bf25d]
Former-commit-id: a8cc3b8f08
This commit is contained in:
Brian Clements 2014-11-12 10:38:15 -06:00
parent d1e6159f2d
commit bbb5371bb7

View file

@ -48,7 +48,8 @@ import com.raytheon.viz.ui.views.CaveWorkbenchPageManager;
*
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Oct 8, 2014 3705 bclement Initial creation
* Oct 8, 2014 3705 bclement Initial creation
* Nov 12, 2014 3705 bclement fixed empty participant list problem
*
* </pre>
*
@ -106,11 +107,15 @@ public class JoinRoomAction extends Action {
try {
VenueSession session = connection.joinTextOnlyVenue(room,
handle);
/*
* connect to room before UI initializes so it gets the
* participant list
*/
session.connectToRoom();
CaveWorkbenchPageManager page = CaveWorkbenchPageManager
.getActiveInstance();
page.showView(SessionView.ID, session.getSessionId(),
IWorkbenchPage.VIEW_ACTIVATE);
session.connectToRoom();
} catch (CollaborationException | PartInitException e) {
log.error("Unable to join room " + room.getFQName(), e);
}