Load permalink creators to get proper state of the room

pull/21833/head
Travis Ralston 2019-04-11 10:59:00 -06:00
parent e4a9d4f5c8
commit ccf292f053
1 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,9 @@ module.exports = React.createClass({
if (!this._permalinkCreators) this._permalinkCreators = {};
if (this._permalinkCreators[room.roomId]) return this._permalinkCreators[room.roomId];
return this._permalinkCreators[room.roomId] = new RoomPermalinkCreator(room);
this._permalinkCreators[room.roomId] = new RoomPermalinkCreator(room);
this._permalinkCreators[room.roomId].load();
return this._permalinkCreators[room.roomId];
},
_stopAllPermalinkCreators: function() {