This commit is contained in:
Joey Hess 2013-05-26 17:12:03 -04:00
parent f857c44b45
commit bd8f358e6d

View file

@ -43,7 +43,7 @@ storeImportantNetMessage m client matchingclient = go <<~ netMessager
sent <- takeTMVar $ sentImportantNetMessages nm
putTMVar (importantNetMessages nm) $
M.alter (Just . maybe (S.singleton m) (S.insert m)) client $
M.mapWithKey removematching sent q
M.mapWithKey removematching q
putTMVar (sentImportantNetMessages nm) $
M.mapWithKey removematching sent
removematching someclient s