diff --git a/modules/react-native-status/android/build.gradle b/modules/react-native-status/android/build.gradle index 2209b214c3..755f62c5bd 100644 --- a/modules/react-native-status/android/build.gradle +++ b/modules/react-native-status/android/build.gradle @@ -17,5 +17,5 @@ dependencies { compile 'com.instabug.library:instabug:3+' compile 'com.github.ericwlange:AndroidJSCore:3.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') } diff --git a/modules/react-native-status/ios/RCTStatus/pom.xml b/modules/react-native-status/ios/RCTStatus/pom.xml index 76ee49584f..89d07aaa0b 100644 --- a/modules/react-native-status/ios/RCTStatus/pom.xml +++ b/modules/react-native-status/ios/RCTStatus/pom.xml @@ -25,7 +25,7 @@ status-im status-go-ios-simulator - develop-gba6c9653 + develop-gb7fb51d9 zip true ./ diff --git a/src/status_im/protocol/web3/inbox.cljs b/src/status_im/protocol/web3/inbox.cljs index c6017fcac5..9fbd76aafc 100644 --- a/src/status_im/protocol/web3/inbox.cljs +++ b/src/status_im/protocol/web3/inbox.cljs @@ -45,10 +45,11 @@ (let [args {:jsonrpc "2.0" :id 2 :method "shh_requestMessages" - :params [{:peer enode - :topic topic - :symKeyID sym-key-id - :from 0}]} + ;; NOTE: "from" and "to" parameters omitted here + ;; by default "from" is 24 hours ago and "to" is time now + :params [{:mailServerPeer enode + :topic topic + :symKeyID sym-key-id}]} payload (.stringify js/JSON (clj->js args))] (log/info "offline inbox: request-messages request") (log/info "offline inbox: request-messages args" (pr-str args))