MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / removeUser

Method removeUser

src/controller/app.controller.js:110–115  ·  view source on GitHub ↗
({fingerprint, userId, keyringId})

Source from the content-addressed store, hash-verified

108 }
109
110 async removeUser({fingerprint, userId, keyringId}) {
111 const keyring = await keyringById(keyringId);
112 const privateKey = keyring.getPrivateKeyByFpr(fingerprint);
113 await keyring.removeUser(privateKey, userId);
114 await this.sendKeyUpdate();
115 }
116
117 async addUser({fingerprint, user, keyringId}) {
118 const keyring = await keyringById(keyringId);

Callers

nothing calls this directly

Calls 2

sendKeyUpdateMethod · 0.95
getPrivateKeyByFprMethod · 0.80

Tested by

no test coverage detected