Bug 1105347 If something goes wrong in a Loop room, ensure that devices are released and the room is left fully. r=nperriault
This commit is contained in:
@@ -114,10 +114,11 @@ loop.store.ActiveRoomStore = (function() {
|
||||
|
||||
this.setStoreState({
|
||||
error: actionData.error,
|
||||
failureReason: getReason(actionData.error.errno),
|
||||
roomState: actionData.error.errno === SERVER_CODES.ROOM_FULL ?
|
||||
ROOM_STATES.FULL : ROOM_STATES.FAILED
|
||||
failureReason: getReason(actionData.error.errno)
|
||||
});
|
||||
|
||||
this._leaveRoom(actionData.error.errno === SERVER_CODES.ROOM_FULL ?
|
||||
ROOM_STATES.FULL : ROOM_STATES.FAILED);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user