aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/qwhisper/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/qwhisper/message.go')
-rw-r--r--ui/qt/qwhisper/message.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/qwhisper/message.go b/ui/qt/qwhisper/message.go
index c87647399..3a80381ff 100644
--- a/ui/qt/qwhisper/message.go
+++ b/ui/qt/qwhisper/message.go
@@ -8,9 +8,9 @@ import (
type Message struct {
ref *whisper.Message
- Flags int32
- Payload string
- From string
+ Flags int32 `json:"flags"`
+ Payload string `json:"payload"`
+ From string `json:"from"`
}
func ToQMessage(msg *whisper.Message) *Message {