refactor(communities): remove typo in `exportCommunity()` API
This commit is contained in:
parent
84f87f696c
commit
5bf5095c3c
|
@ -383,7 +383,7 @@ QtObject:
|
|||
proc inviteUsersToCommunity*(self: CommunitiesView, pubKeysJSON: string): string {.slot.} =
|
||||
self.inviteUsersToCommunityById(self.activeCommunity.id(), pubKeysJSON)
|
||||
|
||||
proc exportComumnity*(self: CommunitiesView): string {.slot.} =
|
||||
proc exportCommunity*(self: CommunitiesView): string {.slot.} =
|
||||
try:
|
||||
result = self.status.chat.exportCommunity(self.activeCommunity.communityItem.id)
|
||||
except Exception as e:
|
||||
|
|
|
@ -65,7 +65,7 @@ Rectangle {
|
|||
let hiddenBannerIds = appSettings.hiddenCommunityBackUpBanners
|
||||
hiddenBannerIds.push(chatsModel.communities.activeCommunity.id)
|
||||
appSettings.hiddenCommunityBackUpBanners = hiddenBannerIds
|
||||
openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportComumnity()})
|
||||
openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportCommunity()})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ StatusModal {
|
|||
onEditButtonClicked: openPopup(editCommunityPopup, {
|
||||
community: popup.community
|
||||
})
|
||||
onTransferOwnershipButtonClicked: openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportComumnity()})
|
||||
onTransferOwnershipButtonClicked: openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportCommunity()})
|
||||
onLeaveButtonClicked: chatsModel.communities.leaveCommunity(popup.community.id)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue