summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go')
-rw-r--r--vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go
index 45a6a05d..29921c92 100644
--- a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go
+++ b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go
@@ -38,9 +38,11 @@ func NewClient(serverURL *url.URL, debug bool) (*Client, error) {
c := new(Client)
c.ddp = ddp.NewClient(wsURL, serverURL.String())
- if debug {
- c.ddp.SetSocketLogActive(true)
- }
+ /*
+ if debug {
+ c.ddp.SetSocketLogActive(true)
+ }
+ */
if err := c.ddp.Connect(); err != nil {
return nil, err