Annotations by sender is now a Set

pull/21833/head
J. Ryan Stinnett 2019-05-16 12:45:41 +01:00
parent 0e369bd12e
commit 2e7e71556b
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export default class ReactionDimension extends React.PureComponent {
return null;
}
const userId = MatrixClientPeg.get().getUserId();
return reactions.getAnnotationsBySender()[userId];
return [...reactions.getAnnotationsBySender()[userId].values()];
}
onOptionClick = (ev) => {

View File

@ -80,7 +80,7 @@ export default class ReactionsRow extends React.PureComponent {
return null;
}
const userId = MatrixClientPeg.get().getUserId();
return reactions.getAnnotationsBySender()[userId];
return [...reactions.getAnnotationsBySender()[userId].values()];
}
render() {