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

fixed error strings

parent 86e668c3
No related branches found
No related tags found
3 merge requests!79Hotfix/dm receive,!78fix reactions not having parent; fixed joining duplicate conversations on message recieve,!67fix for latest client release
...@@ -99,7 +99,7 @@ func buildMessage(messageID, parentID, text []byte, pubKey ed25519.PublicKey, ...@@ -99,7 +99,7 @@ func buildMessage(messageID, parentID, text []byte, pubKey ed25519.PublicKey,
func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte, func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte,
partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time,
round rounds.Round, mType dm.MessageType, status dm.Status) uint64 { 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) jww.TRACE.Printf("[DM indexedDB] Receive(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, nil, nickname, string(text), uuid, err := w.receiveWrapper(messageID, nil, nickname, string(text),
...@@ -114,7 +114,7 @@ func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte, ...@@ -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, func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string,
partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8,
timestamp time.Time, round rounds.Round, status dm.Status) uint64 { 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) jww.TRACE.Printf("[DM indexedDB] ReceiveText(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, nil, nickname, text, uuid, err := w.receiveWrapper(messageID, nil, nickname, text,
...@@ -130,7 +130,7 @@ func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string, ...@@ -130,7 +130,7 @@ func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string,
func (w *wasmModel) ReceiveReply(messageID, reactionTo message.ID, nickname, func (w *wasmModel) ReceiveReply(messageID, reactionTo message.ID, nickname,
text string, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, text string, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8,
timestamp time.Time, round rounds.Round, status dm.Status) uint64 { 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) jww.TRACE.Printf("[DM indexedDB] ReceiveReply(%s)", messageID)
uuid, err := w.receiveWrapper(messageID, &reactionTo, nickname, text, uuid, err := w.receiveWrapper(messageID, &reactionTo, nickname, text,
......
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