Browse Source

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

pull/1376/head
Matthew Hodgson 6 years ago
parent
commit
46572ae793
  1. 1
      src/VectorConferenceHandler.js
  2. 2
      src/components/structures/LeftPanel.js

1
src/VectorConferenceHandler.js

@ -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;
});
};

2
src/components/structures/LeftPanel.js

@ -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,
});
}
},

Loading…
Cancel
Save