click on group call thumbnail should return you to the group call, not the 1:1

pull/1376/head
Matthew Hodgson 2016-04-12 02:27:35 +01:00
parent b1ba69fd00
commit 46572ae793
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ ConferenceCall.prototype.setup = function() {
// looking for a 1:1 room with this conf user ID!)
var call = Matrix.createNewMatrixCall(self.client, room.roomId);
call.confUserId = self.confUserId;
call.groupRoomId = self.groupRoomId;
return call;
});
};

View File

@ -79,7 +79,7 @@ var LeftPanel = React.createClass({
if (call) {
dis.dispatch({
action: 'view_room',
room_id: call.roomId,
room_id: call.groupRoomId || call.roomId,
});
}
},