diff --git a/chat.go b/chat.go index ac23043..354b98f 100644 --- a/chat.go +++ b/chat.go @@ -172,6 +172,9 @@ func (k *Keybase) Run(handlers Handlers, options ...RunOptions) { if options[0].Wallet { runOptions = append(runOptions, "--wallet") } + if options[0].Convs { + runOptions = append(runOptions, "--convs") + } if options[0].Local { runOptions = append(runOptions, "--local") } diff --git a/types.go b/types.go index 9ad10f8..aad521d 100644 --- a/types.go +++ b/types.go @@ -16,6 +16,7 @@ type RunOptions struct { HideExploding bool // Ignore exploding messages Dev bool // Subscribe to dev channel messages Wallet bool // Subscribe to wallet events + Convs bool // Subscribe to new-conversation events FilterChannel chat1.ChatChannel // Only subscribe to messages from specified channel FilterChannels []chat1.ChatChannel // Only subscribe to messages from specified channels }