Merge pull request #8 from status-im/fix/add-missing-params

fix_: add missing params to join request
This commit is contained in:
Pablo Lopez 2024-08-20 17:16:16 +03:00 committed by GitHub
commit 2f317f0e56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class StatusNode:
return self.api.send_rpc_request("wakuext_fetchCommunity", params, timeout=2)
def request_to_join_community(self, community_id):
params = [{"communityId": community_id}]
params = [{"communityId": community_id, "addressesToReveal": ["fakeaddress"], "airdropAddress": "fakeaddress"}]
return self.api.send_rpc_request("wakuext_requestToJoinCommunity", params)
def accept_request_to_join_community(self, request_to_join_id):