core: add viaGroupLink to Connection (#1248)

This commit is contained in:
JRoberts
2022-10-24 14:28:58 +04:00
committed by GitHub
parent 5265667c0c
commit deeb2e891a
8 changed files with 41 additions and 49 deletions
@@ -383,14 +383,12 @@ export interface CRContactRequestAlreadyAccepted extends CR {
export interface CRContactConnecting extends CR {
type: "contactConnecting"
contact: Contact
viaGroupLink: boolean
}
export interface CRContactConnected extends CR {
type: "contactConnected"
contact: Contact
userCustomProfile?: Profile
viaGroupLink: boolean
}
export interface CRContactAnotherClient extends CR {
@@ -569,7 +567,6 @@ export interface CRSentGroupInvitation extends CR {
groupInfo: GroupInfo
contact: Contact
member: GroupMember
viaGroupLink: boolean
}
export interface CRLeftMemberUser extends CR {