Skip to content
Snippets Groups Projects
Commit 9eb97267 authored by Jake Taylor's avatar Jake Taylor
Browse files

fixed error strings

parent 86e668c3
Branches
Tags
3 merge requests!79Hotfix/dm receive,!78fix reactions not having parent; fixed joining duplicate conversations on message recieve,!67fix for latest client release
This commit is part of merge request !78. Comments created here will be created in the context of that merge request.
......@@ -99,7 +99,7 @@ func buildMessage(messageID, parentID, text []byte, pubKey ed25519.PublicKey,
func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte,
partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time,
round rounds.Round, mType dm.MessageType, status dm.Status) uint64 {
parentErr := "failed to Receive"
parentErr := "[DM indexedDB] failed to Receive"
jww.TRACE.Printf("[DM indexedDB] Receive(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, nil, nickname, string(text),
......@@ -114,7 +114,7 @@ func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte,
func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string,
partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8,
timestamp time.Time, round rounds.Round, status dm.Status) uint64 {
parentErr := "failed to ReceiveText"
parentErr := "[DM indexedDB] failed to ReceiveText"
jww.TRACE.Printf("[DM indexedDB] ReceiveText(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, nil, nickname, text,
......@@ -130,7 +130,7 @@ func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string,
func (w *wasmModel) ReceiveReply(messageID, reactionTo message.ID, nickname,
text string, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8,
timestamp time.Time, round rounds.Round, status dm.Status) uint64 {
parentErr := "failed to ReceiveReply"
parentErr := "[DM indexedDB] failed to ReceiveReply"
jww.TRACE.Printf("[DM indexedDB] ReceiveReply(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, &reactionTo, nickname, text,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment