From e89371fb1c2edcd421ac538957abef4ac333d57e Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 23 Oct 2017 14:54:57 +0100 Subject: [PATCH] Add click-to-open-settings functionality to GroupAvatar --- src/components/structures/GroupView.js | 1 + src/components/views/avatars/GroupAvatar.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 9acef413a0..b2e49fb67a 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -918,6 +918,7 @@ export default React.createClass({ avatarNode = ; if (summary.profile && summary.profile.name) { diff --git a/src/components/views/avatars/GroupAvatar.js b/src/components/views/avatars/GroupAvatar.js index 506714e857..3b716f02e1 100644 --- a/src/components/views/avatars/GroupAvatar.js +++ b/src/components/views/avatars/GroupAvatar.js @@ -28,6 +28,7 @@ export default React.createClass({ width: PropTypes.number, height: PropTypes.number, resizeMethod: PropTypes.string, + onClick: PropTypes.func, }, getDefaultProps: function() {