Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
9eb97267
Commit
9eb97267
authored
2 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
fixed error strings
parent
86e668c3
No related branches found
No related tags found
3 merge requests
!79
Hotfix/dm receive
,
!78
fix reactions not having parent; fixed joining duplicate conversations on message recieve
,
!67
fix for latest client release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indexedDb/impl/dm/implementation.go
+3
-3
3 additions, 3 deletions
indexedDb/impl/dm/implementation.go
with
3 additions
and
3 deletions
indexedDb/impl/dm/implementation.go
+
3
−
3
View file @
9eb97267
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment