core: allow to manually accept member contact requests (#6129)

* core: allow to manually accept member contact requests

* response

* comment

* comment

* add fields

* fix

* field in request

* compiles

* fix tests

* test

* plans

* fix mobile tests

* fix doc tests

* renames

* group name in event

* fix renames

* tests

* plans

* rename selector

* ios wip

* fix

* ios wip

* move

* fix backend bug, ui

* reject dialogue

* update plans

* kotlin

* delete swipe

* should accept text

* rename

* postgres migration

* ios: pass chat as binding

* rename module

* fix queries

* schema

* update plans, api docs

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
This commit is contained in:
spaced4ndy
2025-08-01 10:18:29 +01:00
committed by GitHub
co-authored by Evgeny Poberezkin
parent 81b61f2473
commit f42a6751b1
48 changed files with 1088 additions and 152 deletions
+5 -1
View File
@@ -245,6 +245,7 @@ cliCommands =
"SendImage",
"SendLiveMessage",
"SendMemberContactMessage",
"AcceptMemberContact",
"SendMessage",
"SendMessageBroadcast",
"SendMessageQuote",
@@ -265,6 +266,7 @@ cliCommands =
"SetUserContactReceipts",
"SetUserFeature",
"SetUserGroupReceipts",
"SetUserAutoAcceptMemberContacts",
"SetUserTimedMessages",
"ShowChatItem",
"ShowChatItemInfo",
@@ -320,6 +322,8 @@ undocumentedCommands =
"APICreateChatItems",
"APICreateChatTag",
"APICreateMemberContact",
"APISendMemberContactInvitation",
"APIAcceptMemberContact",
"APIDeleteChatTag",
"APIDeleteMemberSupportChat",
"APIDeleteReceivedReports",
@@ -370,7 +374,6 @@ undocumentedCommands =
"APISendCallExtraInfo",
"APISendCallInvitation",
"APISendCallOffer",
"APISendMemberContactInvitation",
"APISetAppFilePaths",
"APISetChatItemTTL",
"APISetChatSettings",
@@ -390,6 +393,7 @@ undocumentedCommands =
"APISetServerOperators",
"APISetUserContactReceipts",
"APISetUserGroupReceipts",
"APISetUserAutoAcceptMemberContacts",
"APISetUserServers",
"APISetUserUIThemes",
"APIStandaloneFileInfo",
+1
View File
@@ -171,6 +171,7 @@ undocumentedResponses =
"CRNetworkStatuses",
"CRNewMemberContact",
"CRNewMemberContactSentInv",
"CRMemberContactAccepted",
"CRNewPreparedChat",
"CRNtfConns",
"CRNtfToken",
+2
View File
@@ -302,6 +302,7 @@ chatTypesDocsData =
(sti @PrefEnabled, STRecord, "", [], "", ""),
(sti @Preferences, STRecord, "", [], "", ""),
(sti @PreparedContact, STRecord, "", [], "", ""),
(sti @GroupDirectInvitation, STRecord, "", [], "", ""),
(sti @PreparedGroup, STRecord, "", [], "", ""),
(sti @Profile, STRecord, "", [], "", ""),
(sti @ProxyClientError, STUnion, "Proxy", [], "", ""),
@@ -492,6 +493,7 @@ deriving instance Generic PendingContactConnection
deriving instance Generic PrefEnabled
deriving instance Generic Preferences
deriving instance Generic PreparedContact
deriving instance Generic GroupDirectInvitation
deriving instance Generic PreparedGroup
deriving instance Generic Profile
deriving instance Generic ProxyClientError