diff --git a/src/components/views/rooms/RoomDetailList.js b/src/components/views/rooms/RoomDetailList.js index 0ab2ebd2ce..370bf1bb2d 100644 --- a/src/components/views/rooms/RoomDetailList.js +++ b/src/components/views/rooms/RoomDetailList.js @@ -37,6 +37,12 @@ const RoomDetailRow = React.createClass({ }); }, + onTopicClick: function(ev) { + // When clicking a link in the topic, prevent the event being propagated + // to `onClick`. + ev.stopPropagation(); + }, + render: function() { const BaseAvatar = sdk.getComponent('avatars.BaseAvatar'); @@ -68,7 +74,7 @@ const RoomDetailRow = React.createClass({
{ name }
  { perms }
{ getDisplayAliasForRoom(room) }