From 0b3380ac6e9d2463cfbb04ffda332a8f181abff9 Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Fri, 30 May 2025 19:03:21 +0100 Subject: [PATCH] Use dTag instead of the note's address. --- .../amethyst/ui/screen/loggedIn/lists/FollowSet.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt index ce37ba19d6..7cb1aa8149 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt @@ -46,7 +46,7 @@ data class FollowSet( event.privateTaggedUsers(signer) { userList -> privateFollows.addAll(userList) } return if (publicFollows.isEmpty() && privateFollows.isNotEmpty()) { FollowSet( - identifierTag = address.toValue(), + identifierTag = dTag, title = listTitle, description = listDescription, visibility = ListVisibility.Private, @@ -54,14 +54,14 @@ data class FollowSet( ) } else if (publicFollows.isNotEmpty() && privateFollows.isEmpty()) { FollowSet( - identifierTag = address.toValue(), + identifierTag = dTag, title = listTitle, description = listDescription, visibility = ListVisibility.Public, profileList = publicFollows.toSet(), ) } else { - throw Exception("Mixed follow sets are not yet supported.") + throw Exception("Mixed follow sets are not supported.") } } }