Update submodule
Fixes isDesiredNameMessage
This commit is contained in:
parent
15751a55c4
commit
cacc279dcf
2 changed files with 7 additions and 2 deletions
2
lib
2
lib
|
@ -1 +1 @@
|
||||||
Subproject commit efc59f871b941dbd9808dbd27cf4ccbe6054c44f
|
Subproject commit 221ed4fcc3f00e7a643e7267d426ef9382e2de5b
|
|
@ -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 {
|
||||||
|
|
Reference in a new issue