mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-30 08:15:55 +00:00
chore: Use optimized endpoint to get communities with images
fixes #15340
This commit is contained in:
parent
a2b8eb333d
commit
5c349d1938
@ -27,7 +27,7 @@ proc getCuratedCommunities*(): RpcResponse[JsonNode] =
|
||||
result = callPrivateRPC("curatedCommunities".prefix, payload)
|
||||
|
||||
proc getAllCommunities*(): RpcResponse[JsonNode] =
|
||||
result = callPrivateRPC("communities".prefix)
|
||||
result = callPrivateRPC("serializedCommunities".prefix)
|
||||
|
||||
proc isDisplayNameDupeOfCommunityMember*(displayName: string): RpcResponse[JsonNode] =
|
||||
result = callPrivateRPC("isDisplayNameDupeOfCommunityMember".prefix, %* [displayName])
|
||||
|
Loading…
x
Reference in New Issue
Block a user