Issue #244 Fix bug in handleInvitationEvent
Change-Id: Ic47628203707a8238b1d3c0982d177641bba53a9 Former-commit-id:c2b5a62e38
[formerly7aa926028e
] [formerlya39475e04d
] [formerly46ddf008b8
[formerlya39475e04d
[formerly 12e29dfb9e3a77e44b7b946f138c84e082e0990a]]] Former-commit-id:46ddf008b8
Former-commit-id: 17eff5c7bcf326f80da2ab7de13763602e79ffb9 [formerly5145bb9e7e
] Former-commit-id:d1ce0844e3
This commit is contained in:
parent
7a848dae25
commit
c3b0f8dc27
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