1
Fork 0

Update submodule

Fixes isDesiredNameMessage
This commit is contained in:
Tobias Berger 2022-02-07 15:23:19 +01:00
parent 1bc3b2c94a
commit bac45fd872
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;
} }
if (message.desiredName) {
console.debug(`${from} set desiredName to ${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 {