| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Simplex.Chat.Store.Connections
Documentation
getChatLockEntity :: Connection -> AgentConnId -> ExceptT StoreError IO ChatLockEntity Source #
getConnectionEntity :: Connection -> VersionRangeChat -> User -> AgentConnId -> ExceptT StoreError IO ConnectionEntity Source #
getConnectionEntityByConnReq :: Connection -> VersionRangeChat -> User -> (ConnReqInvitation, ConnReqInvitation) -> IO (Maybe ConnectionEntity) Source #
getConnectionEntityViaShortLink :: Connection -> VersionRangeChat -> User -> ShortLinkInvitation -> IO (Maybe (ConnReqInvitation, ConnectionEntity)) Source #
getContactConnEntityByConnReqHash :: Connection -> VersionRangeChat -> User -> (ConnReqUriHash, ConnReqUriHash) -> IO (Maybe ConnectionEntity) Source #
getContactConnsToSub :: Connection -> User -> Bool -> IO [ConnId] Source #
getUCLConnsToSub :: Connection -> User -> Bool -> IO [ConnId] Source #
getMemberConnsToSub :: Connection -> User -> Bool -> IO [ConnId] Source #
getPendingConnsToSub :: Connection -> User -> Bool -> IO [ConnId] Source #
shouldSyncConnections :: Connection -> IO Bool Source #
setConnectionsSyncTs :: Connection -> IO () Source #