mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 05:21:58 +00:00
fix: share community instead of import during inviting community member in the community with minted owner token (#12896)
This commit is contained in:
parent
3af73a44a5
commit
a43e577f41
@ -472,7 +472,7 @@ QtObject:
|
|||||||
if (self.discordImportCommunityName == name): return
|
if (self.discordImportCommunityName == name): return
|
||||||
self.discordImportCommunityName = name
|
self.discordImportCommunityName = name
|
||||||
self.discordImportCommunityNameChanged()
|
self.discordImportCommunityNameChanged()
|
||||||
|
|
||||||
QtProperty[string] discordImportCommunityName:
|
QtProperty[string] discordImportCommunityName:
|
||||||
read = getDiscordImportCommunityName
|
read = getDiscordImportCommunityName
|
||||||
notify = discordImportCommunityNameChanged
|
notify = discordImportCommunityNameChanged
|
||||||
@ -567,9 +567,8 @@ QtObject:
|
|||||||
proc cancelRequestToJoinCommunity*(self: View, communityId: string) {.slot.} =
|
proc cancelRequestToJoinCommunity*(self: View, communityId: string) {.slot.} =
|
||||||
self.delegate.cancelRequestToJoinCommunity(communityId)
|
self.delegate.cancelRequestToJoinCommunity(communityId)
|
||||||
|
|
||||||
proc requestCommunityInfo*(self: View, communityId: string, importing: bool) {.slot.} =
|
proc requestCommunityInfo*(self: View, communityId: string, shardCluster: int, shardIndex: int, importing: bool) {.slot.} =
|
||||||
# TODO update the slot to accept the shard arguments when it's available from the QML
|
self.delegate.requestCommunityInfo(communityId, shardCluster, shardIndex, importing)
|
||||||
self.delegate.requestCommunityInfo(communityId, shardCluster = -1, shardIndex = -1, importing)
|
|
||||||
|
|
||||||
proc getCommunityDetails*(self: View, communityId: string): string {.slot.} =
|
proc getCommunityDetails*(self: View, communityId: string): string {.slot.} =
|
||||||
let communityItem = self.model.getItemById(communityId)
|
let communityItem = self.model.getItemById(communityId)
|
||||||
@ -689,7 +688,7 @@ QtObject:
|
|||||||
proc setDiscordImportedChannelCommunityId*(self: View, id: string) =
|
proc setDiscordImportedChannelCommunityId*(self: View, id: string) =
|
||||||
if (self.discordImportedChannelCommunityId == id): return
|
if (self.discordImportedChannelCommunityId == id): return
|
||||||
self.discordImportedChannelCommunityId = id
|
self.discordImportedChannelCommunityId = id
|
||||||
|
|
||||||
proc setDiscordImportChannelId*(self: View, id: string) {.slot.} =
|
proc setDiscordImportChannelId*(self: View, id: string) {.slot.} =
|
||||||
if (self.discordImportChannelId == id): return
|
if (self.discordImportChannelId == id): return
|
||||||
self.discordImportChannelId = id
|
self.discordImportChannelId = id
|
||||||
@ -701,7 +700,7 @@ QtObject:
|
|||||||
QtProperty[string] discordImportChannelId:
|
QtProperty[string] discordImportChannelId:
|
||||||
read = getDiscordImportChannelId
|
read = getDiscordImportChannelId
|
||||||
notify = discordImportChannelChanged
|
notify = discordImportChannelChanged
|
||||||
|
|
||||||
proc setDiscordImportChannelName*(self: View, name: string) {.slot.} =
|
proc setDiscordImportChannelName*(self: View, name: string) {.slot.} =
|
||||||
if (self.discordImportChannelName == name): return
|
if (self.discordImportChannelName == name): return
|
||||||
self.discordImportChannelName = name
|
self.discordImportChannelName = name
|
||||||
@ -814,4 +813,4 @@ QtObject:
|
|||||||
proc sharedAddressesForAllNonKeycardKeypairsSigned(self: View) {.signal.}
|
proc sharedAddressesForAllNonKeycardKeypairsSigned(self: View) {.signal.}
|
||||||
proc sendSharedAddressesForAllNonKeycardKeypairsSignedSignal*(self: View) =
|
proc sendSharedAddressesForAllNonKeycardKeypairsSignedSignal*(self: View) =
|
||||||
self.sharedAddressesForAllNonKeycardKeypairsSigned()
|
self.sharedAddressesForAllNonKeycardKeypairsSigned()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user