Issue #244 Fix bug in handleInvitationEvent
Change-Id: Ic47628203707a8238b1d3c0982d177641bba53a9 Former-commit-id:a39475e04d
[formerly 12e29dfb9e3a77e44b7b946f138c84e082e0990a] Former-commit-id:46ddf008b8
This commit is contained in:
parent
f496523681
commit
5145bb9e7e
1 changed files with 7 additions and 1 deletions
|
@ -464,13 +464,18 @@ public class CollaborationDataManager {
|
|||
.joinCollaborationVenue(invitation);
|
||||
String sessionId = session.getSessionId();
|
||||
sessionsMap.put(sessionId, session);
|
||||
ISharedDisplaySession displaySession = session
|
||||
.spawnSharedDisplaySession();
|
||||
ParticipantEventController pec = new ParticipantEventController(
|
||||
displaySession);
|
||||
pec.startup();
|
||||
roleEventControllersMap.put(sessionId, pec);
|
||||
PlatformUI
|
||||
.getWorkbench()
|
||||
.getActiveWorkbenchWindow()
|
||||
.getActivePage()
|
||||
.showView(CollaborationSessionView.ID, sessionId,
|
||||
IWorkbenchPage.VIEW_ACTIVATE);
|
||||
|
||||
} catch (CollaborationException e) {
|
||||
// TODO Auto-generated catch block. Please revise as
|
||||
// appropriate.
|
||||
|
@ -529,6 +534,7 @@ public class CollaborationDataManager {
|
|||
});
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public String joinCollaborationSession(String venueName, String sessionId) {
|
||||
String result = sessionId;
|
||||
if (sessionsMap.get(sessionId) == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue