diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 1ab087243745..273f9f79f57b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -682,11 +682,11 @@ SPEC CHECKSUMS: boost: a7c83b31436843459a1961bfd74b96033dc77234 BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872 CryptoSwift: c4f2debceb38bf44c80659afe009f71e23e4a082 - DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662 + DoubleConversion: cde416483dac037923206447da6e1454df403714 FBLazyVector: d2db9d00883282819d03bbd401b2ad4360d47580 FBReactNativeSpec: 94da4d84ba3b1acf459103320882daa481a2b62d fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 - glog: 3ac2326f7fee4840a3066c90eb135ecd20496ded + glog: 997518ea2aa2d8cd5df9797b641b758d52ecf2bc HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352 Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8 libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef @@ -763,4 +763,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: c29de3b14e3275299c51aa95520622f09d084bcb -COCOAPODS: 1.12.0 +COCOAPODS: 1.12.1 diff --git a/src/status_im/communities/core.cljs b/src/status_im/communities/core.cljs index 5ac576adfe88..6eb1f03d4704 100644 --- a/src/status_im/communities/core.cljs +++ b/src/status_im/communities/core.cljs @@ -944,15 +944,15 @@ {:events [:community/mute-community-successful]} [{:keys [db]} community-id muted-till] (log/debug "muted community successfully" community-id muted-till) - (js/console.log (str "muted community successfully " muted-till)) {:db (assoc-in db [:communities community-id :muted-till] muted-till)}) (rf/defn set-community-muted {:events [:community/set-muted]} [{:keys [db]} community-id muted? muted-type] - (let [params [community-id muted? muted-type]] + (let [params (if muted? [community-id muted-type] [community-id]) + method (if muted? "wakuext_muteCommunityChats" "wakuext_unMuteCommunityChats")] {:db (assoc-in db [:communities community-id :muted] muted?) - :json-rpc/call [{:method "wakuext_muteCommunityChats" + :json-rpc/call [{:method method :params params :on-error #(rf/dispatch [:community/mute-community-failed community-id muted? %]) diff --git a/src/status_im2/contexts/communities/discover/view.cljs b/src/status_im2/contexts/communities/discover/view.cljs index 595a13b1d8d4..3cac4bfe9938 100644 --- a/src/status_im2/contexts/communities/discover/view.cljs +++ b/src/status_im2/contexts/communities/discover/view.cljs @@ -96,8 +96,8 @@ [rn/view {:style style/featured-list-container :on-layout #(swap! view-size - (fn [] - (- (oops/oget % "nativeEvent.layout.width") 40)))} + (fn [] + (- (oops/oget % "nativeEvent.layout.width") 40)))} (when-not (= @view-size 0) [rn/flat-list {:key-fn :id diff --git a/status-go-version.json b/status-go-version.json index c53a6b8b9703..73dccf964b8a 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -4,6 +4,6 @@ "owner": "status-im", "repo": "status-go", "version": "ft/mute-community", - "commit-sha1": "e6187aec6b2238a8171763dd0d2181102957d482", - "src-sha256": "1kdba9sscq3wpp4jca0h9rzxgfm9y15gdi5m4nr3jisqjv8rcg6z" + "commit-sha1": "1e97be4655bfa119e98895030a7ad9be30bc183f", + "src-sha256": "0g0mxkxq03ard31rm0dgiw304g72iz2g1pqf65acg0xkm5mdar5b" }