mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:07:24 +01:00
implement a fix for when a follow set becomes empty(or is empty), which is probably a Nostr limitation.
This commit is contained in:
@@ -65,7 +65,15 @@ data class FollowSet(
|
||||
profileList = publicFollows.toSet(),
|
||||
)
|
||||
} else {
|
||||
throw Exception("Mixed follow sets are not supported.")
|
||||
// Follow set is empty, so assume public. Why? Nostr limitation.
|
||||
// TODO: Could this be fixed at protocol level?
|
||||
FollowSet(
|
||||
identifierTag = dTag,
|
||||
title = listTitle,
|
||||
description = listDescription,
|
||||
visibility = ListVisibility.Public,
|
||||
profileList = publicFollows.toSet(),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user