From 869fd0b2c91a0a225a2b1dda5559f2d288c14216 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 16 Jan 2020 09:40:11 -0700 Subject: [PATCH] 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/11887 --- src/components/views/avatars/MemberAvatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/avatars/MemberAvatar.js b/src/components/views/avatars/MemberAvatar.js index 7cd14f67d4..a07a184aa1 100644 --- a/src/components/views/avatars/MemberAvatar.js +++ b/src/components/views/avatars/MemberAvatar.js @@ -83,7 +83,7 @@ export default createReactClass({ if (viewUserOnClick) { onClick = () => { - dispatcher.dispatch({ + dis.dispatch({ action: 'view_user', member: this.props.member, });