Browse Source

Only Sync if told to do so

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

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

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