aboutsummaryrefslogtreecommitdiff
path: root/gomuks.go
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 /gomuks.go
parent5a316b953f540d366dc0f31374ef90ba79b0f4e8 (diff)
Set different user agent
Diffstat (limited to 'gomuks.go')
-rw-r--r--gomuks.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gomuks.go b/gomuks.go
index d61fe57..d5a7458 100644
--- a/gomuks.go
+++ b/gomuks.go
@@ -55,6 +55,10 @@ func NewGomuks(uiProvider ifc.UIProvider, configDir, dataDir, cacheDir, download
return gmx
}
+func (gmx *Gomuks) Version() string {
+ return "v0.1.0"
+}
+
// Save saves the active session and message history.
func (gmx *Gomuks) Save() {
gmx.config.SaveAll()