diff --git a/src/components/structures/FilePanel.js b/src/components/structures/FilePanel.js index 778a0cd6f3..d83b6b5564 100644 --- a/src/components/structures/FilePanel.js +++ b/src/components/structures/FilePanel.js @@ -90,7 +90,11 @@ var FilePanel = React.createClass({ }, render: function() { - if (this.noRoom) { + if (MatrixClientPeg.get().isGuest()) { + return
+
You must register to use this functionality
+
; + } else if (this.noRoom) { return
You must join the room to see its files
;