Skip to content

Whose

type Whose =
| {
me: true;
}
| {
friend: string;
name: string;
};

Who locked or signed a text, as ctx.crypto.open and ctx.crypto.verify report it. { me: true } means a device of the person, and { friend, name } means a device of a friend, with the id of their group and their name.