git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@279 af16638f-c34d-0410-8cfa-b39d5352b314

This commit is contained in:
saadnouri 2008-08-08 18:51:54 +00:00
parent e3ed6c6939
commit 2deec53261
2 changed files with 8 additions and 4 deletions

View File

@ -34,6 +34,7 @@ package org.bigbluebutton.modules.chat
import org.bigbluebutton.modules.viewers.ViewersFacade;
import org.bigbluebutton.modules.viewers.model.business.Conference;
import org.bigbluebutton.common.Constants;
import org.bigbluebutton.modules.viewers.model.services.SharedObjectConferenceDelegate;
/**
*
* Class ChatModule acts as view component for Chat Application
@ -84,12 +85,14 @@ package org.bigbluebutton.modules.chat
}
override public function logout():void{
// var presentation:PresentationApplication =
// facade.retrieveMediator(PresentationApplication.NAME) as PresentationApplication;
// presentation.leave();
var delegate:SharedObjectConferenceDelegate =
facade.retrieveProxy(SharedObjectConferenceDelegate.NAME) as SharedObjectConferenceDelegate;
delegate.leave();
facade.removeCore(ChatFacade.NAME);
}
}
}

View File

@ -65,6 +65,7 @@ package org.bigbluebutton.modules.viewers
}
override public function logout():void{
var delegate:SharedObjectConferenceDelegate =
facade.retrieveProxy(SharedObjectConferenceDelegate.NAME) as SharedObjectConferenceDelegate;