chore(perf)_: Use optimized endpoint to get communities (#20481)
Adapts the client code to use the new optimized endpoint to get communities with images pointing to the media server. Related status-go PR https://github.com/status-im/status-go/pull/5336.
This commit is contained in:
parent
1cc4807336
commit
66785d01ec
|
@ -137,7 +137,7 @@
|
||||||
|
|
||||||
(rf/reg-event-fx :community/fetch
|
(rf/reg-event-fx :community/fetch
|
||||||
(fn [_]
|
(fn [_]
|
||||||
{:json-rpc/call [{:method "wakuext_communities"
|
{:json-rpc/call [{:method "wakuext_serializedCommunities"
|
||||||
:params []
|
:params []
|
||||||
:on-success #(rf/dispatch [:community/fetch-success %])
|
:on-success #(rf/dispatch [:community/fetch-success %])
|
||||||
:on-error #(log/error "failed to fetch communities" %)}
|
:on-error #(log/error "failed to fetch communities" %)}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.180.30",
|
"version": "v0.180.31",
|
||||||
"commit-sha1": "b665d68d0cff7cd4521ac8791fcf6eac29b23cd9",
|
"commit-sha1": "e0673ad1ffec65e3bd96a46b5054fc2d36071cc4",
|
||||||
"src-sha256": "1bpj3x2bmrh7whhx9sb2wgwc4q8knm4c3rzvimp0s84fsvna5ynq"
|
"src-sha256": "15y3fl0q8kqxbsqj9snyg7spaqj09xid9rfza7l5zpk8p0ajqnmk"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue