You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Load permalink creators to get proper state of the room
This commit is contained in:
@@ -276,7 +276,9 @@ module.exports = React.createClass({
|
|||||||
if (!this._permalinkCreators) this._permalinkCreators = {};
|
if (!this._permalinkCreators) this._permalinkCreators = {};
|
||||||
if (this._permalinkCreators[room.roomId]) return this._permalinkCreators[room.roomId];
|
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() {
|
_stopAllPermalinkCreators: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user