Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Use getStateKey instead of getSender
Browse files Browse the repository at this point in the history
This makes sure that the kickee is not the user used for the MemberEventListSummary
  • Loading branch information
Luke Barnard committed Jan 11, 2017
1 parent e95f5b9 commit baaf827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/elements/MemberEventListSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = React.createClass({
};

eventsToRender.forEach((e) => {
const userId = e.getSender();
const userId = e.getStateKey();
// Initialise a user's events
if (!userEvents[userId]) {
userEvents[userId] = {first: null, last: null};
Expand Down

0 comments on commit baaf827

Please sign in to comment.