Add installation name

This commit is contained in:
Jazz Turner-Baggs 2026-02-19 12:04:56 -08:00
parent 7a3592d7de
commit 1c1fa559b4
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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] =

2
vendor/libchat vendored

@ -1 +1 @@
Subproject commit a9ca4ffb7de90ea4cd269350c189c19fb78a2589
Subproject commit e0632cdf8b6931284db217b405b820988a444d2c