Delete user from private chat list when he leaves the conference.
This commit is contained in:
parent
1378a75bdd
commit
eacafb6c87
@ -19,8 +19,6 @@
|
||||
package org.bigbluebutton.main.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
import org.bigbluebutton.main.model.User;
|
||||
|
||||
public class UserLeftEvent extends Event
|
||||
{
|
||||
|
@ -82,6 +82,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
private function handleUserLeftEvent(event: UserLeftEvent): void {
|
||||
handler.handleUserLeftEvent(event.userID);
|
||||
handler.populateAllUsers();
|
||||
users = removeMe(handler.users);
|
||||
}
|
||||
|
||||
private function handleNewGroupChatEvent(event:CoreEvent):void {
|
||||
@ -90,7 +92,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
private function handleUserJoinedEvent(event: UserJoinedEvent):void {
|
||||
handler.handleUserJoinedEvent(event);
|
||||
handler.populateAllUsers()
|
||||
handler.populateAllUsers();
|
||||
users = removeMe(handler.users);
|
||||
}
|
||||
|
||||
@ -111,7 +113,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
private function onCreationComplete():void{
|
||||
amIModerator = UsersUtil.amIModerator();
|
||||
|
||||
handler.populateAllUsers()
|
||||
handler.populateAllUsers();
|
||||
handler.populateAllGroupChats()
|
||||
users = removeMe(handler.users);
|
||||
groupChats = handler.groupChats;
|
||||
|
Loading…
Reference in New Issue
Block a user