From 7d48d8538f907f4663771ee49cd18efc8bf6585e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 10 May 2020 20:09:44 +0300 Subject: Set different user agent --- matrix/matrix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'matrix') diff --git a/matrix/matrix.go b/matrix/matrix.go index bff9bd2..1407125 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -117,6 +117,7 @@ func (c *Container) InitClient() error { if err != nil { return err } + c.client.UserAgent = fmt.Sprintf("gomuks %s (with mautrix-go %s)", c.gmx.Version(), mautrix.Version) c.client.Logger = mxLogger{} c.client.DeviceID = c.config.DeviceID -- cgit v1.2.3