mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 15:03:16 +00:00
core: ratchet synchronization (#2653)
This commit is contained in:
1 parent
c329bf4ea1
commit
ae17566a94
10 files changed
+411
-132
No files matched your search
@@ -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