From ca618c844cba02c166309300a1a79ace2290a107 Mon Sep 17 00:00:00 2001 From: Ulrich Petri Date: Wed, 25 Sep 2019 20:42:08 +0200 Subject: [PATCH] Apply patch for DISPLAY_NAME length limit Refs: raiden-network/raiden#4634 --- build/synapse/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/synapse/Dockerfile b/build/synapse/Dockerfile index 5dc49fb..3d14da9 100644 --- a/build/synapse/Dockerfile +++ b/build/synapse/Dockerfile @@ -9,6 +9,9 @@ RUN \ RUN /synapse-venv/bin/pip install psycopg2 coincurve pycryptodome +# Temporary patch until raiden-network/raiden#4634 is resolved +RUN sed -i -E 's/^MAX_DISPLAYNAME_LEN = 100$/MAX_DISPLAYNAME_LEN = 200/' /synapse-venv/lib/python3.7/site-packages/synapse/handlers/profile.py + COPY eth_auth_provider.py /synapse-venv/lib/python3.7/site-packages/ COPY synapse-entrypoint.sh /bin/ COPY render_config_template.py /bin/