Skip to content

Commit 46572ae

Browse files
committed
click on group call thumbnail should return you to the group call, not the 1:1
1 parent b1ba69f commit 46572ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/VectorConferenceHandler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ ConferenceCall.prototype.setup = function() {
4444
// looking for a 1:1 room with this conf user ID!)
4545
var call = Matrix.createNewMatrixCall(self.client, room.roomId);
4646
call.confUserId = self.confUserId;
47+
call.groupRoomId = self.groupRoomId;
4748
return call;
4849
});
4950
};

src/components/structures/LeftPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var LeftPanel = React.createClass({
7979
if (call) {
8080
dis.dispatch({
8181
action: 'view_room',
82-
room_id: call.roomId,
82+
room_id: call.groupRoomId || call.roomId,
8383
});
8484
}
8585
},

0 commit comments

Comments
 (0)