mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-24 06:22:25 +00:00
rename
This commit is contained in:
1 parent
4ade06ccfa
commit
e804e9542f
1 file changed
+2
-2
@@ -1181,8 +1181,8 @@ subscribeQueues c qs = do
|
||||
subscribeQueues_ env sessionsUsed smp qs' = do
|
||||
rs <- sendBatch subscribeSMPQueues smp qs'
|
||||
let sessId = sessionId $ thParams smp
|
||||
alive <- atomically $ activeClientSession c (transportSession' smp) sessId
|
||||
if alive
|
||||
active <- atomically $ activeClientSession c (transportSession' smp) sessId
|
||||
if active
|
||||
then do
|
||||
atomically $ modifyTVar' sessionsUsed (sessId :)
|
||||
mapM_ (uncurry $ processSubResult c) rs
|
||||
|
||||
Reference in new issue
Block a user