diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/application.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/application.go b/client/application.go index 0debedd..3b627b1 100644 --- a/client/application.go +++ b/client/application.go @@ -25,6 +25,7 @@ type application struct { cmdWindow cmdWindow prompts []window.Prompt activePaste <-chan string + welcomed bool } func newApplication(serverAddress string, insecure bool) *application { @@ -273,7 +274,10 @@ func (a *application) onAuth(uid string) { } } }) - a.cmdWindow.info("welcome! type /help for help. try: /join talk") + if !a.welcomed { + a.cmdWindow.info("welcome! type /help for help. try: /join talk") + a.welcomed = true + } } func (a *application) sendUpdate(o proto.Object, cb func(proto.Command)) { |
