We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba9623 commit 33605a4Copy full SHA for 33605a4
src/chatb0x/websockets.clj
@@ -76,12 +76,11 @@
76
;; Agent visitor handling
77
(defn send-msg2 [client1 client2 msg]
78
(do (if client1
79
- (println "Sending client1: " client1 msg)
80
- (send! client1 msg false))
+ (do (println "Sending client1: " client1 msg)
+ (send! client1 msg false)))
81
(if client2
82
- (println "Sending client2" client2 msg)
83
- (send! client2 msg false)
84
- )))
+ (do (println "Sending client2" client2 msg)
+ (send! client2 msg false)))))
85
86
(defn msg-init [client1 client2]
87
"Send address of opposite end to both clients"
0 commit comments