Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 5678114

Browse files
author
Colden Prime
committed
Signal connection closed when reconnection not attempted
1 parent 945ba5b commit 5678114

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SKRTMAPI/SKRTMAPI.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ public final class SKRTMAPI: RTMDelegate {
214214
connected = false
215215
if options.reconnect {
216216
connect()
217+
} else {
218+
adapter?.connectionClosed(with: SlackError.rtmConnectionError, instance: self)
217219
}
218220
}
219221

0 commit comments

Comments
 (0)