From b478ad2acf20337e0cf14285d232819c108c93f4 Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jeblair@redhat.com>
Date: Mon, 23 Mar 2020 10:58:10 -0700
Subject: [PATCH] jitsi-meet: open etherpad on join

For our meetpad service, modify jitsi-meet to open the etherpad
when a user joins.

There is an upstream PR for this, but until it lands or is rejected,
this clones from a temporary github repo with the patch.

Change-Id: Idd33a68a4fe7a90c75c5988bd1fd6136b8b7db08
---
 docker/jitsi-meet/Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docker/jitsi-meet/Dockerfile b/docker/jitsi-meet/Dockerfile
index 6a48e0a2d0..d07e9f76a3 100644
--- a/docker/jitsi-meet/Dockerfile
+++ b/docker/jitsi-meet/Dockerfile
@@ -22,7 +22,11 @@ RUN \
 	apt-get install -y -t stretch-backports debhelper && \
 	rm -rf /var/lib/apt/lists/
 
-RUN git clone https://github.com/jitsi/jitsi-meet
+# TODO(jeblair): either get https://github.com/jitsi/jitsi-meet/pull/5270 merged
+# or create a local fork, or carry a local patch we apply here
+RUN git clone https://github.com/jeblair/jitsi-meet && \
+	cd jitsi-meet && \
+	git checkout etherpad-on-join
 
 RUN \
         cd jitsi-meet && \