mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-07 02:22:44 +00:00
core: api for pending contact connections (#553)
* core: api for pending contact connections * core: pending contact connection events / api
This commit is contained in:
committed by
GitHub
parent
a525f24969
commit
14514050ae
@@ -96,7 +96,7 @@ data ChatCommand
|
||||
| CreateActiveUser Profile
|
||||
| StartChat
|
||||
| SetFilesFolder FilePath
|
||||
| APIGetChats
|
||||
| APIGetChats {pendingConnections :: Bool}
|
||||
| APIGetChat ChatType Int64 ChatPagination
|
||||
| APIGetChatItems Int
|
||||
| APISendMessage ChatType Int64 (Maybe FilePath) (Maybe ChatItemId) MsgContent
|
||||
@@ -246,6 +246,8 @@ data ChatResponse
|
||||
| CRUserContactLinkSubscribed
|
||||
| CRUserContactLinkSubError {chatError :: ChatError}
|
||||
| CRNtfTokenStatus {status :: NtfTknStatus}
|
||||
| CRNewContactConnection {connection :: PendingContactConnection}
|
||||
| CRContactConnectionDeleted {connection :: PendingContactConnection}
|
||||
| CRMessageError {severity :: Text, errorMessage :: Text}
|
||||
| CRChatCmdError {chatError :: ChatError}
|
||||
| CRChatError {chatError :: ChatError}
|
||||
|
||||
Reference in New Issue
Block a user