From 1c1fa559b4d3098c8dd070f9ef77977e9ff984e8 Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Thu, 19 Feb 2026 12:04:56 -0800 Subject: [PATCH] Add installation name --- src/chat/client.nim | 4 ++-- vendor/libchat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chat/client.nim b/src/chat/client.nim index ecdac57..5f86422 100644 --- a/src/chat/client.nim +++ b/src/chat/client.nim @@ -77,7 +77,7 @@ proc newClient*(ds: WakuClient, ephemeral: bool = true, installation_name: strin var q = QueueRef(queue: newAsyncQueue[ChatPayload](10)) var c = ChatClient( - libchatCtx: newConversationsContext(), + libchatCtx: newConversationsContext(installation_name), ds: ds, inboundQueue: q, isRunning: false, @@ -97,7 +97,7 @@ proc newClient*(ds: WakuClient, ephemeral: bool = true, installation_name: strin ################################################# proc getId*(client: ChatClient): string = - result = "PLACEHOLDER_CLIENT_ID" # TODO: (!) get from Libchat. + result = client.libchatCtx.getInstallationName() proc listConversations*(client: ChatClient): seq[Conversation] = diff --git a/vendor/libchat b/vendor/libchat index a9ca4ff..e0632cd 160000 --- a/vendor/libchat +++ b/vendor/libchat @@ -1 +1 @@ -Subproject commit a9ca4ffb7de90ea4cd269350c189c19fb78a2589 +Subproject commit e0632cdf8b6931284db217b405b820988a444d2c