chore: fix vault invites
This commit is contained in:
@@ -192,7 +192,7 @@ export class ContactService extends AbstractService<ContactServiceEvent> impleme
|
|||||||
}
|
}
|
||||||
|
|
||||||
findContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined {
|
findContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined {
|
||||||
return this.findContact(invite.sender_uuid)
|
return this.findContact(invite.user_uuid)
|
||||||
}
|
}
|
||||||
|
|
||||||
getCollaborationIDForTrustedContact(contact: TrustedContactInterface): string {
|
getCollaborationIDForTrustedContact(contact: TrustedContactInterface): string {
|
||||||
|
|||||||
@@ -7,9 +7,10 @@ export class VaultsContext extends AppContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async changeVaultName(vault, nameAndDesc) {
|
async changeVaultName(vault, nameAndDesc) {
|
||||||
await this.vaults.changeVaultNameAndDescription(vault, {
|
await this.vaults.changeVaultMetadata(vault, {
|
||||||
name: nameAndDesc.name,
|
name: nameAndDesc.name,
|
||||||
description: nameAndDesc.description,
|
description: nameAndDesc.description,
|
||||||
|
iconString: 'icon-vault',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user