mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-06 03:32:47 +00:00
core: ratchet synchronization (#2653)
This commit is contained in:
@@ -627,9 +627,6 @@ getContactConnections db userId Contact {contactId} =
|
||||
connections [] = throwError $ SEContactNotFound contactId
|
||||
connections rows = pure $ map toConnection rows
|
||||
|
||||
|
||||
|
||||
|
||||
getConnectionById :: DB.Connection -> User -> Int64 -> ExceptT StoreError IO Connection
|
||||
getConnectionById db User {userId} connId = ExceptT $ do
|
||||
firstRow toConnection (SEConnectionNotFoundById connId) $
|
||||
|
||||
Reference in New Issue
Block a user