Browse Source

Only Sync if told to do so

kegan/configure-client-name
Kegan Dougal 8 years ago
parent
commit
7bafa40708
  1. 4
      src/github.com/matrix-org/go-neb/clients/clients.go

4
src/github.com/matrix-org/go-neb/clients/clients.go

@ -219,7 +219,9 @@ func (c *Clients) newClient(config types.ClientConfig) (*matrix.Client, error) {
}) })
} }
go client.Sync()
if config.Sync {
go client.Sync()
}
return client, nil return client, nil
} }
Loading…
Cancel
Save