From 5e11027d3a3b5a87076b5303327d0410f38338fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Tue, 22 Oct 2024 18:03:56 +0200 Subject: [PATCH] Unused Utils.getCommunityIdFromShareLink removed --- ui/imports/utils/Utils.qml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ui/imports/utils/Utils.qml b/ui/imports/utils/Utils.qml index 06c970bbc7..e4df6b59d4 100644 --- a/ui/imports/utils/Utils.qml +++ b/ui/imports/utils/Utils.qml @@ -824,19 +824,6 @@ QtObject { return getCommunityChannelShareLink(communityId, channelId) } - function getCommunityIdFromShareLink(link) { - let index = link.lastIndexOf("/c/") - if (index === -1) { - return "" - } - const communityKey = link.substring(index + 3) - if (globalUtilsInst.isCompressedPubKey(communityKey)) { - // is zQ.., need to be converted to standard compression - return globalUtilsInst.changeCommunityKeyCompression(communityKey) - } - return communityKey - } - function getCommunityDataFromSharedLink(link) { const index = link.lastIndexOf("/c/") if (index === -1)