Skip to content
Snippets Groups Projects
Commit 70036673 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

don't use codename

parent cbe512fe
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!8Updates to match the client fullyDecentrilizedChannels branch
...@@ -29,8 +29,9 @@ const ( ...@@ -29,8 +29,9 @@ const (
) )
// NewWasmEventModel returns a [channels.EventModel] backed by a wasmModel. // NewWasmEventModel returns a [channels.EventModel] backed by a wasmModel.
func NewWasmEventModel(codename string) (channels.EventModel, error) { // The name should be a base64 encoding of the users public key.
databaseName := codename + databaseSuffix func NewWasmEventModel(pubkeyBase64 string) (channels.EventModel, error) {
databaseName := pubkeyBase64 + databaseSuffix
return newWasmModel(databaseName) return newWasmModel(databaseName)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment