mirror of https://github.com/vector-im/riot-web
Fix not being able to open profiles from the timeline
MemberAvatar was referencing the wrong dispatcher (it was imported as `dis`, like everywhere else, not `dispatcher`). Fixes https://github.com/vector-im/riot-web/issues/11887pull/21833/head
parent
cad9562f8d
commit
869fd0b2c9
|
@ -83,7 +83,7 @@ export default createReactClass({
|
|||
|
||||
if (viewUserOnClick) {
|
||||
onClick = () => {
|
||||
dispatcher.dispatch({
|
||||
dis.dispatch({
|
||||
action: 'view_user',
|
||||
member: this.props.member,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue