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

Use bytes here

parent ad3f24df
No related branches found
No related tags found
1 merge request!67fix for latest client release
......@@ -223,7 +223,8 @@ func (w *wasmModel) receiveWrapper(messageID message.ID, parentID *message.ID, n
timestamp time.Time, round rounds.Round, mType dm.MessageType, status dm.Status) (uint64, error) {
// If there is no extant Conversation, create one.
_, err := impl.Get(w.db, conversationStoreName, js.ValueOf(partnerKey))
_, err := impl.Get(w.db, conversationStoreName,
js.ValueOf(partnerKey[:]))
if err != nil {
if strings.Contains(err.Error(), impl.ErrDoesNotExist) {
err = w.joinConversation(nickname, partnerKey, dmToken,
......
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