1
Fork 0

Update submodule

Fixes isDesiredNameMessage
This commit is contained in:
Tobias Berger 2022-02-07 15:23:19 +01:00
parent 15751a55c4
commit cacc279dcf
Signed by: toby
GPG key ID: 2D05EFAB764D6A88
2 changed files with 7 additions and 2 deletions

2
lib

@ -1 +1 @@
Subproject commit efc59f871b941dbd9808dbd27cf4ccbe6054c44f Subproject commit 221ed4fcc3f00e7a643e7267d426ef9382e2de5b

View file

@ -148,7 +148,12 @@ async function handleDesiredNameMessage(message: DesiredNameMessage, from: strin
return; return;
} }
console.debug(`${from} set desiredName to ${message.desiredName}`); if (message.desiredName) {
console.debug(`${from} set desiredName to ${message.desiredName}`);
} else {
console.debug(`${from} unset desiredName`);
}
if (message.desiredName === undefined) { if (message.desiredName === undefined) {
desiredNames.delete(from); desiredNames.delete(from);
} else { } else {