From 3e08256347b39854779224cbc04b0191eb5dfd8d Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 4 Feb 2023 13:29:53 -0500 Subject: [PATCH] Keeping subscription names small to please some relays. --- .../java/com/vitorpamplona/amethyst/service/NostrDataSource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrDataSource.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrDataSource.kt index ee9b62eed..5e81e6a73 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrDataSource.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrDataSource.kt @@ -146,7 +146,7 @@ abstract class NostrDataSource(val debugName: String) { } fun requestNewChannel(onEOSE: ((Long) -> Unit)? = null): Channel { - val newChannel = Channel(debugName+UUID.randomUUID().toString().substring(0,4), onEOSE) + val newChannel = Channel(UUID.randomUUID().toString().substring(0,4), onEOSE) channels = channels + Pair(newChannel.id, newChannel) return newChannel }