Use getStateKey
instead of getSender
This makes sure that the kickee is not the user used for the MemberEventListSummary
This commit is contained in:
parent
e95f5b959f
commit
baaf827c48
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ module.exports = React.createClass({
|
||||||
};
|
};
|
||||||
|
|
||||||
eventsToRender.forEach((e) => {
|
eventsToRender.forEach((e) => {
|
||||||
const userId = e.getSender();
|
const userId = e.getStateKey();
|
||||||
// Initialise a user's events
|
// Initialise a user's events
|
||||||
if (!userEvents[userId]) {
|
if (!userEvents[userId]) {
|
||||||
userEvents[userId] = {first: null, last: null};
|
userEvents[userId] = {first: null, last: null};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue