From 7c86bb6146aebc6561f35eff8c12f83744f216f1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 19 Jun 2024 12:20:07 +0300 Subject: [PATCH] Update giphyproxy /version response --- giphyproxy/go.mod | 2 +- giphyproxy/go.sum | 4 ++-- giphyproxy/main.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/giphyproxy/go.mod b/giphyproxy/go.mod index 8c26d75..14a470a 100644 --- a/giphyproxy/go.mod +++ b/giphyproxy/go.mod @@ -5,7 +5,7 @@ go 1.22.3 require ( go.mau.fi/util v0.5.0 gopkg.in/yaml.v3 v3.0.1 - maunium.net/go/mautrix v0.19.0-beta.1.0.20240619084603-3e302fb46fdb + maunium.net/go/mautrix v0.19.0-beta.1.0.20240619091941-bd2c40e815bd ) require ( diff --git a/giphyproxy/go.sum b/giphyproxy/go.sum index 47a7ac3..ecadb69 100644 --- a/giphyproxy/go.sum +++ b/giphyproxy/go.sum @@ -43,5 +43,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -maunium.net/go/mautrix v0.19.0-beta.1.0.20240619084603-3e302fb46fdb h1:xOe8J6rG2ADTVl56+SFDBDJkwmfCzNpVHLDxHZS+c0w= -maunium.net/go/mautrix v0.19.0-beta.1.0.20240619084603-3e302fb46fdb/go.mod h1:cxv1w6+syudmEpOewHYIQT9yO7TM5UOWmf6xEBVI4H4= +maunium.net/go/mautrix v0.19.0-beta.1.0.20240619091941-bd2c40e815bd h1:7AHHY/lGiMeTyarMrAwoTUno2KlLAMyeGgQn3XZKMWs= +maunium.net/go/mautrix v0.19.0-beta.1.0.20240619091941-bd2c40e815bd/go.mod h1:cxv1w6+syudmEpOewHYIQT9yO7TM5UOWmf6xEBVI4H4= diff --git a/giphyproxy/main.go b/giphyproxy/main.go index 8954a46..98ac929 100644 --- a/giphyproxy/main.go +++ b/giphyproxy/main.go @@ -49,6 +49,7 @@ func main() { var cfg Config exerrors.PanicIfNotNil(yaml.Unmarshal(cfgFile, &cfg)) mp := exerrors.Must(mediaproxy.NewFromConfig(cfg.BasicConfig, getMedia)) + mp.KeyServer.Version.Name = "maunium-stickerpicker giphy proxy" exerrors.PanicIfNotNil(mp.Listen(cfg.ServerConfig)) } }