Fixed whisper messages
* Whisper protocol wasn't properly suppling envelope slices * Message history wasn't properly propagated * Added 'Messages' method, filtering any current envelope with the supplied filter.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user