mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
This has changed in newer react sdk but in master, it should be state.memberDict
This commit is contained in:
parent
209889210b
commit
044c75270f
@ -36,8 +36,8 @@ module.exports = React.createClass({
|
|||||||
var MemberTile = sdk.getComponent("molecules.MemberTile");
|
var MemberTile = sdk.getComponent("molecules.MemberTile");
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
return Object.keys(self.memberDict).map(function(userId) {
|
return Object.keys(self.state.memberDict).map(function(userId) {
|
||||||
var m = self.memberDict[userId];
|
var m = self.state.memberDict[userId];
|
||||||
return (
|
return (
|
||||||
<MemberTile key={userId} member={m} ref={userId} />
|
<MemberTile key={userId} member={m} ref={userId} />
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user