aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-30 15:39:45 +0200
committerOmar Polo <op@omarpolo.com>2021-07-30 15:39:45 +0200
commit29a1c0f1221ba2600ad3f55ecd547357b86906cf (patch)
tree7f1799f02c209bf8ece09d4ab0a52fae304dc434
parentae97f74824d466663bbb1d408b197cb266528fa9 (diff)
downloadgemitbot-master.tar.gz
gemitbot-master.tar.bz2
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index f4278c8..b83b09f 100644
--- a/main.go
+++ b/main.go
@@ -19,7 +19,7 @@ var (
baseurl = flag.String("baseurl", "gemini://m2i.omarpolo.com", "base url")
matrixOutDir = flag.String("matrix-out", "", "matrix out directory")
- matrixRe = regexp.MustCompile(`https://.*/[^\s]+\.(txt|png|jpg|jpeg|gif)`)
+ msgRe = regexp.MustCompile(`https://.*/[^\s]+\.(txt|png|jpg|jpeg|gif)`)
channel = "#gemini-it"
)