aboutsummaryrefslogtreecommitdiff
path: root/matrix
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-05-10 20:09:44 +0300
committerTulir Asokan <tulir@maunium.net>2020-05-10 20:09:44 +0300
commit7d48d8538f907f4663771ee49cd18efc8bf6585e (patch)
treef2c177f49221befa8d5bb7d45fcf5ed73cd55c2e /matrix
parent5a316b953f540d366dc0f31374ef90ba79b0f4e8 (diff)
Set different user agent
Diffstat (limited to 'matrix')
-rw-r--r--matrix/matrix.go1
1 files changed, 1 insertions, 0 deletions
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