chore: fix vault invite sender contact
This commit is contained in:
@@ -202,6 +202,10 @@ export class ContactService extends AbstractService<ContactServiceEvent> impleme
|
||||
return this.findContact(invite.user_uuid)
|
||||
}
|
||||
|
||||
findSenderContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined {
|
||||
return this.findContact(invite.sender_uuid)
|
||||
}
|
||||
|
||||
getCollaborationIDForTrustedContact(contact: TrustedContactInterface): string {
|
||||
return this.buildCollaborationId({
|
||||
version: Version1CollaborationId,
|
||||
|
||||
@@ -34,6 +34,7 @@ export interface ContactServiceInterface extends AbstractService<ContactServiceE
|
||||
findContact(userUuid: string): TrustedContactInterface | undefined
|
||||
findContactForServerUser(user: SharedVaultUserServerHash): TrustedContactInterface | undefined
|
||||
findContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined
|
||||
findSenderContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined
|
||||
|
||||
getItemSignatureStatus(item: DecryptedItemInterface): ItemSignatureValidationResult
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user