fix: share community instead of import during inviting community member in the community with minted owner token (#12896)

This commit is contained in:
Mykhailo Prakhov 2023-11-28 19:57:28 +01:00 committed by GitHub
parent 3af73a44a5
commit a43e577f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,9 +567,8 @@ QtObject:
proc cancelRequestToJoinCommunity*(self: View, communityId: string) {.slot.} =
self.delegate.cancelRequestToJoinCommunity(communityId)
proc requestCommunityInfo*(self: View, communityId: string, importing: bool) {.slot.} =
# TODO update the slot to accept the shard arguments when it's available from the QML
self.delegate.requestCommunityInfo(communityId, shardCluster = -1, shardIndex = -1, importing)
proc requestCommunityInfo*(self: View, communityId: string, shardCluster: int, shardIndex: int, importing: bool) {.slot.} =
self.delegate.requestCommunityInfo(communityId, shardCluster, shardIndex, importing)
proc getCommunityDetails*(self: View, communityId: string): string {.slot.} =
let communityItem = self.model.getItemById(communityId)