From 6701a41f894156c76525ab7b912ec18b04ab7fbe Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Mon, 29 Apr 2019 01:58:56 +0200 Subject: [PATCH] Improve Gitter configuration --- Section-Gitter-(basic).md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Section-Gitter-(basic).md b/Section-Gitter-(basic).md index 41b2ef8..3075f3d 100644 --- a/Section-Gitter-(basic).md +++ b/Section-Gitter-(basic).md @@ -7,4 +7,6 @@ It will not relay messages from yourself if you use your account** #You can get your token by going to https://developer.gitter.im/docs/welcome and SIGN IN Token="Yourtokenhere" RemoteNickFormat="[{PROTOCOL}] <{NICK}> " +#This improves the situation where a gitter user uploads a picture/file, just relay the link instead of the Markdown +ReplaceMessages=[["^\\[!\\[[^\\]]+\\]\\(https?:\\/\\/files\\.gitter\\.im\\/[^\\/]+\\/[^\\/]+\\/[^\\/]+\\/thumb\\/[^\\)]+\\)\\]\\(([^\\)]+)\\)$", "$1"], ["\\[[^\\]]+\\]\\((https:\\/\\/files\\.gitter\\.im\\/[^\\/]+\\/[^\\/]+\\/[^\\/]+\\/[^\\)]+)\\)$", "$1"]] ``` \ No newline at end of file