diff --git a/src/components/views/right_panel/UserInfo.js b/src/components/views/right_panel/UserInfo.js
index a194b89eee..88cc41766d 100644
--- a/src/components/views/right_panel/UserInfo.js
+++ b/src/components/views/right_panel/UserInfo.js
@@ -1248,11 +1248,13 @@ const UserInfo = withLegacyMatrixClient(({matrixClient: cli, user, groupId, room
text = _t("Messages in this room are end-to-end encrypted.");
}
- const devicesSection = (
+ const devicesSection = isRoomEncrypted ?
+ (
{ text }
-