From e064b6ecb31698d9b46ec4f00af67258b2e065ba Mon Sep 17 00:00:00 2001 From: Jeffrey Walter Date: Fri, 11 Oct 2019 00:19:22 +0300 Subject: [PATCH] Fix formatting. --- events_stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events_stream.go b/events_stream.go index 3ea05a1..e027eea 100644 --- a/events_stream.go +++ b/events_stream.go @@ -111,7 +111,7 @@ func (e *eventStream) listen() (connected chan bool) { connected <- true } else if notifyResponse.Status == "disconnected" { e.disconnect() - } else if notifyResponse.Action == "logout" { + } else if notifyResponse.Action == "logout" { e.disconnect() } else { e.subscriptions.rwmutex.RLock()