mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-05-22 12:45:28 +00:00
delete contact connection with DEL command (#218)
This commit is contained in:
committed by
GitHub
parent
218a7756f8
commit
fe2d6607de
@@ -496,7 +496,8 @@ deleteConnection' c connId =
|
||||
withStore (`getConn` connId) >>= \case
|
||||
SomeConn _ (DuplexConnection _ rq _) -> delete rq
|
||||
SomeConn _ (RcvConnection _ rq) -> delete rq
|
||||
_ -> withStore (`deleteConn` connId)
|
||||
SomeConn _ (ContactConnection _ rq) -> delete rq
|
||||
SomeConn _ (SndConnection _ _) -> withStore (`deleteConn` connId)
|
||||
where
|
||||
delete :: RcvQueue -> m ()
|
||||
delete rq = do
|
||||
|
||||
Reference in New Issue
Block a user