Load permalink creators to get proper state of the room

This commit is contained in:
Travis Ralston 2019-04-11 10:59:00 -06:00
parent e4a9d4f5c8
commit ccf292f053

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() {