Skip to content
Snippets Groups Projects
Commit 10b59333 authored by Jono Wenger's avatar Jono Wenger
Browse files

Merge remote-tracking branch 'origin/fullyDecentrilizedChannels' into fullyDecentrilizedChannels

parents 2d061b64 70036673
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