This commit is contained in:
Sasha 2024-04-16 02:03:43 +02:00
parent 3dbe54b7f1
commit 45bd8d4233
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -73,12 +73,13 @@ export class WakuPairing {
/**
* Convert a QR into a content topic
* Must follow - https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md
* @param qr
* @returns content topic string
*/
private static toContentTopic(qr: QR): string {
return (
"/" + qr.applicationName + "/" + qr.applicationVersion + "/wakunoise/1/sessions_shard-" + qr.shardId + "/proto"
"/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto"
);
}