From 97edc72a423b964b76862260662536cfd4f2ebf0 Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Mon, 23 Apr 2018 16:22:45 -0700
Subject: [PATCH] Add link to create new room on full

---
 src/react-components/ui-root.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js
index f6d77685b..61a36cb9d 100644
--- a/src/react-components/ui-root.js
+++ b/src/react-components/ui-root.js
@@ -520,7 +520,13 @@ class UIRoot extends Component {
       let subtitle = null;
       if (this.props.roomUnavailableReason !== "closed") {
         const exitSubtitleId = `exit.subtitle.${this.state.exited ? "exited" : this.props.roomUnavailableReason}`;
-        subtitle = <FormattedMessage id={exitSubtitleId} />;
+        subtitle = (
+          <div>
+            <FormattedMessage id={exitSubtitleId} />
+            <p />
+            You can also <a href="/">create a new room</a>.
+          </div>
+        );
       } else {
         // TODO i18n, due to links and markup
         subtitle = (
-- 
GitLab