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
Merge requests
!78
fix reactions not having parent; fixed joining duplicate conversations on message recieve
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix reactions not having parent; fixed joining duplicate conversations on message recieve
hotfix/DmReceive
into
release
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Jake Taylor
requested to merge
hotfix/DmReceive
into
release
2 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
version 2
version 2
9eb97267
2 years ago
version 1
86e668c3
2 years ago
release (base)
and
latest version
latest version
9b7a3472
3 commits,
2 years ago
version 2
9eb97267
2 commits,
2 years ago
version 1
86e668c3
1 commit,
2 years ago
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
indexedDb/impl/dm/implementation.go
+
3
−
3
Options
@@ -79,15 +79,15 @@ func (w *wasmModel) joinConversation(nickname string,
// NOTE: ID is not set inside this function because we want to use the
// autoincrement key by default. If you are trying to overwrite an existing
// message, then you need to set it manually yourself.
func
buildMessage
(
messageID
,
parentID
,
text
[]
byte
,
p
ub
Key
ed25519
.
PublicKey
,
func
buildMessage
(
messageID
,
parentID
,
text
[]
byte
,
p
artnerKey
,
sender
Key
ed25519
.
PublicKey
,
timestamp
time
.
Time
,
round
id
.
Round
,
mType
dm
.
MessageType
,
codeset
uint8
,
status
dm
.
Status
)
*
Message
{
return
&
Message
{
MessageID
:
messageID
,
ConversationPubKey
:
p
ubKey
,
ConversationPubKey
:
p
artnerKey
[
:
]
,
ParentMessageID
:
parentID
,
Timestamp
:
timestamp
,
SenderPubKey
:
pub
Key
[
:
],
SenderPubKey
:
sender
Key
[
:
],
Status
:
uint8
(
status
),
CodesetVersion
:
codeset
,
Text
:
text
,
Loading