Merge pull request #611 from matrix-org/luke/fix-join-part-collapsing-use-state-key

Use `getStateKey` instead of `getSender`
pull/21833/head
David Baker 2017-01-11 17:09:14 +00:00 committed by GitHub
commit 4e1af30186
1 changed files with 1 additions and 1 deletions

View File

@ -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};