We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2271ec7 commit b03e6a8Copy full SHA for b03e6a8
src/components/structures/RoomDirectory.js
@@ -66,6 +66,10 @@ module.exports = React.createClass({
66
},
67
68
showRoom: function(roomId) {
69
+ // extract the metadata from the publicRooms structure to pass
70
+ // as out-of-band data to view_room, because we get information
71
+ // here that we can't get other than by joining the room in some
72
+ // cases.
73
var room;
74
for (var i = 0; i < this.state.publicRooms.length; ++i) {
75
if (this.state.publicRooms[i].room_id == roomId) {
0 commit comments