mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-23 23:19:06 +00:00
Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call
To conform to the latest status-go interface Update status-go build to 'develop-gb7fb51d9' Remove "from" parameter as it defaults to 0
This commit is contained in:
parent
26dad8cf33
commit
484e982bdf
@ -17,5 +17,5 @@ dependencies {
|
|||||||
compile 'com.instabug.library:instabug:3+'
|
compile 'com.instabug.library:instabug:3+'
|
||||||
compile 'com.github.ericwlange:AndroidJSCore:3.0.1'
|
compile 'com.github.ericwlange:AndroidJSCore:3.0.1'
|
||||||
compile 'status-im:function:0.0.1'
|
compile 'status-im:function:0.0.1'
|
||||||
compile(group: 'status-im', name: 'status-go', version: 'develop-gba6c9653', ext: 'aar')
|
compile(group: 'status-im', name: 'status-go', version: 'develop-gb7fb51d9', ext: 'aar')
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>status-im</groupId>
|
<groupId>status-im</groupId>
|
||||||
<artifactId>status-go-ios-simulator</artifactId>
|
<artifactId>status-go-ios-simulator</artifactId>
|
||||||
<version>develop-gba6c9653</version>
|
<version>develop-gb7fb51d9</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<overWrite>true</overWrite>
|
<overWrite>true</overWrite>
|
||||||
<outputDirectory>./</outputDirectory>
|
<outputDirectory>./</outputDirectory>
|
||||||
|
@ -45,10 +45,11 @@
|
|||||||
(let [args {:jsonrpc "2.0"
|
(let [args {:jsonrpc "2.0"
|
||||||
:id 2
|
:id 2
|
||||||
:method "shh_requestMessages"
|
:method "shh_requestMessages"
|
||||||
:params [{:peer enode
|
;; NOTE: "from" and "to" parameters omitted here
|
||||||
|
;; by default "from" is 24 hours ago and "to" is time now
|
||||||
|
:params [{:mailServerPeer enode
|
||||||
:topic topic
|
:topic topic
|
||||||
:symKeyID sym-key-id
|
:symKeyID sym-key-id}]}
|
||||||
:from 0}]}
|
|
||||||
payload (.stringify js/JSON (clj->js args))]
|
payload (.stringify js/JSON (clj->js args))]
|
||||||
(log/info "offline inbox: request-messages request")
|
(log/info "offline inbox: request-messages request")
|
||||||
(log/info "offline inbox: request-messages args" (pr-str args))
|
(log/info "offline inbox: request-messages args" (pr-str args))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user