diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-13 20:36:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-13 20:36:44 +0800 |
commit | e3cad04decbbc83a0c956850717cb0ae0b2b3eec (patch) | |
tree | 81e0f1a57344a7c0d6a2ae2f1481c2e26880d1c2 /cmd | |
parent | 1e5353824a7859d5cfa98565b5a879d5ca7e582a (diff) | |
download | dexon-e3cad04decbbc83a0c956850717cb0ae0b2b3eec.tar.gz dexon-e3cad04decbbc83a0c956850717cb0ae0b2b3eec.tar.zst dexon-e3cad04decbbc83a0c956850717cb0ae0b2b3eec.zip |
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.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mist/assets/qml/browser.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/mist/assets/qml/browser.qml b/cmd/mist/assets/qml/browser.qml index 7e8ed75bf..34a58f935 100644 --- a/cmd/mist/assets/qml/browser.qml +++ b/cmd/mist/assets/qml/browser.qml @@ -357,7 +357,9 @@ Rectangle { case "shh_getMessages": require(1); - shh.trigger(data.args[0]); + var m = shh.messages(data.args[0]); + var messages = JSON.parse(JSON.parse(JSON.stringify(m))); + postData(data._id, messages); break; } |