mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-29 01:09:15 +00:00
core: prepare group link before creating the group (#6600)
* core: prepare group link before creating the group * update group creation flow * refactor * comments * update plan, schema, api docs/types * store shared group ID and keys when joining relay groups * query plans, api docs
This commit is contained in:
+41
-1
@@ -90,6 +90,7 @@ This file is generated automatically.
|
||||
- [GroupFeature](#groupfeature)
|
||||
- [GroupFeatureEnabled](#groupfeatureenabled)
|
||||
- [GroupInfo](#groupinfo)
|
||||
- [GroupKeys](#groupkeys)
|
||||
- [GroupLink](#grouplink)
|
||||
- [GroupLinkPlan](#grouplinkplan)
|
||||
- [GroupMember](#groupmember)
|
||||
@@ -103,7 +104,9 @@ This file is generated automatically.
|
||||
- [GroupPreferences](#grouppreferences)
|
||||
- [GroupProfile](#groupprofile)
|
||||
- [GroupRelay](#grouprelay)
|
||||
- [GroupRootKey](#grouprootkey)
|
||||
- [GroupShortLinkData](#groupshortlinkdata)
|
||||
- [GroupShortLinkInfo](#groupshortlinkinfo)
|
||||
- [GroupSummary](#groupsummary)
|
||||
- [GroupSupportChat](#groupsupportchat)
|
||||
- [HandshakeError](#handshakeerror)
|
||||
@@ -2158,6 +2161,17 @@ MemberSupport:
|
||||
- groupSummary: [GroupSummary](#groupsummary)
|
||||
- membersRequireAttention: int
|
||||
- viaGroupLinkUri: string?
|
||||
- groupKeys: [GroupKeys](#groupkeys)?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## GroupKeys
|
||||
|
||||
**Record type**:
|
||||
- sharedGroupId: string
|
||||
- groupRootKey: [GroupRootKey](#grouprootkey)
|
||||
- memberPrivKey: string
|
||||
|
||||
|
||||
---
|
||||
@@ -2181,7 +2195,7 @@ MemberSupport:
|
||||
|
||||
Ok:
|
||||
- type: "ok"
|
||||
- direct: bool
|
||||
- groupSLinkInfo_: [GroupShortLinkInfo](#groupshortlinkinfo)?
|
||||
- groupSLinkData_: [GroupShortLinkData](#groupshortlinkdata)?
|
||||
|
||||
OwnLink:
|
||||
@@ -2225,6 +2239,7 @@ Known:
|
||||
- createdAt: UTCTime
|
||||
- updatedAt: UTCTime
|
||||
- supportChat: [GroupSupportChat](#groupsupportchat)?
|
||||
- memberPubKey: string?
|
||||
|
||||
|
||||
---
|
||||
@@ -2353,6 +2368,21 @@ Known:
|
||||
- relayLink: string?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## GroupRootKey
|
||||
|
||||
**Discriminated union type**:
|
||||
|
||||
Private:
|
||||
- type: "private"
|
||||
- rootPrivKey: string
|
||||
|
||||
Public:
|
||||
- type: "public"
|
||||
- rootPubKey: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## GroupShortLinkData
|
||||
@@ -2361,6 +2391,16 @@ Known:
|
||||
- groupProfile: [GroupProfile](#groupprofile)
|
||||
|
||||
|
||||
---
|
||||
|
||||
## GroupShortLinkInfo
|
||||
|
||||
**Record type**:
|
||||
- direct: bool
|
||||
- groupRelays: [string]
|
||||
- sharedGroupId: string?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## GroupSummary
|
||||
|
||||
Reference in New Issue
Block a user