Skip to content
Snippets Groups Projects
Commit fb3cf958 authored by Richard T. Carback III's avatar Richard T. Carback III Committed by Jono Wenger
Browse files

don't use codename

parent 00ee3eaa
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 (
)
// NewWasmEventModel returns a [channels.EventModel] backed by a wasmModel.
func NewWasmEventModel(codename string) (channels.EventModel, error) {
databaseName := codename + databaseSuffix
// The name should be a base64 encoding of the users public key.
func NewWasmEventModel(pubkeyBase64 string) (channels.EventModel, error) {
databaseName := pubkeyBase64 + databaseSuffix
return newWasmModel(databaseName)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment