look at event property of the mxEv, this way we won't have all

the additional internal keys :)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-08-27 17:25:51 +01:00
parent a437f23e9d
commit d14f16f0e9
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

View File

@ -171,7 +171,7 @@ class RoomStateExplorer extends React.Component {
onViewSourceClick(event) {
const self = this;
return () => {
self.setState({ event });
self.setState({ event: event.event });
};
}