Skip to content
Snippets Groups Projects

fix for latest client release

Merged Jake Taylor requested to merge release into master
Compare and Show latest version
7 files
+ 56
58
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -80,13 +80,14 @@ func (m *manager) newWASMEventModelCB(data []byte) ([]byte, error) {
// main thread.
//
// messageReceivedCallback adhere to the MessageReceivedCallback type.
func (m *manager) messageReceivedCallback(
uuid uint64, pubKey ed25519.PublicKey, update bool) {
func (m *manager) messageReceivedCallback(uuid uint64, pubKey ed25519.PublicKey,
messageUpdate, conversationUpdate bool) {
// Package parameters for sending
msg := &wDm.MessageReceivedCallbackMessage{
UUID: uuid,
PubKey: pubKey,
Update: update,
UUID: uuid,
PubKey: pubKey,
MessageUpdate: messageUpdate,
ConversationUpdate: conversationUpdate,
}
data, err := json.Marshal(msg)
if err != nil {
Loading